[wp-hackers] Selecting only publicly queryable posts

Robert Lusby nanogwp at gmail.com
Fri Apr 8 11:23:47 UTC 2011


Can you select ONLY publicly_queryable posts from a database? (Thanks
everyone for your help on a related topic yesterday).

E.g, some custom post types are non publicly_queryable.

I need to select all posts in the database that are of a post_type that are
publicly_queryable.

I can run that, if I can figure how you generate a list of the publicly
queryable post types? Any ideas?

Thanks as ever!

Rob


More information about the wp-hackers mailing list