Shortcode – is_empty or null
-
Hi there,
I have this shortcode that im creating where if an attribute is empty I don’t want anything to happen. Can somebody tell me what I should use to do so?
if(!empty($ptitle)){ //dont do anything }else{ //do this code }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Shortcode – is_empty or null’ is closed to new replies.