[wp-hackers] WP_Query() for meta_value = Empty or Missing?

Ryan Bilesky rbilesky at gmail.com
Thu Sep 16 03:21:27 UTC 2010


Why not just use wpdb.

On Wed, Sep 15, 2010 at 7:51 PM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:

> Wondering if you guys can repeat your awesome performance in your answering
> of questions from yesterday.
>
> I'm trying to use WP_Query() to query for a meta_value that may be empty or
> it may be missing.  As far as I can tell there's no way to do that given the
> parameters found here?
>
>
> http://codex.wordpress.org/Function_Reference/query_posts#Custom_Field_Parameters
>
> Am I missing something or am I going to have to dive into using posts_*
> hooks?
>
> -Mike
> _______________________________________________
> 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