[wp-hackers] How you handle empty metadata

Dwain Maralack dwain.maralack at gmail.com
Fri Aug 31 05:01:14 UTC 2012


Hi Diana

Do you mind pasting the code for your function here?

On Thu, Aug 30, 2012 at 11:22 PM, Diana K. C <dianakac at gmail.com> wrote:

> (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!
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list