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

Mike Schinkel mikeschinkel at newclarity.net
Thu Sep 16 03:46:16 UTC 2010


I could, just trying to use the API whenever possible.

On Sep 15, 2010, at 11:21 PM, Ryan Bilesky wrote:

> 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
>> 
> _______________________________________________
> 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