[wp-hackers] How you handle empty metadata

Diana K. C dianakac at gmail.com
Thu Aug 30 21:22:56 UTC 2012


(More a php question I think)

I created a filter that places content on posts and pages but since I'm combining some tags such <li> etc I endeup with silly empty tags if any value is provided  :(

One or two ok check with (!empty)  but I have ten values, what is the best pratice?!

Thanks!


More information about the wp-hackers mailing list