Home › Forums › Back End › [WORDPRESS] Remove div IF textarea is empty for Events Post Type Function › Re: [WORDPRESS] Remove div IF textarea is empty for Events Post Type Function
>`string(33) “Extra Details “`
It says “33”? Is “Extra Details ” the entire text it returns?
Does the pastebin you posted contain **all** the code you’re using?
In any case, that means `$event_info` is not empty – so the condition is true, and “INFO” will be added. Is this an event where you expect the event info to be empty?
If not, if you can, try running this with an event where you expect `$event_info` to be empty.