Top Google Search Results
- #17220 (get_posts_by_author_sql() should use the post type object ...
The filter there, pub_priv_sql_capability, is pretty useless, particularly since it doesn't receive any context. Suggesting we simply remove it. Patch also adds a ... - get_posts_by_author_sql | A HitchHackers guide through WordPress
Feb 12, 2011 ... $cap = apply_filters( 'pub_priv_sql_capability', '' ) ) $cap = $post_type_obj->cap-> read_private_posts; if ( $full ) { if ( null === $post_author ) ... - WordPress Hooks Tag Cloud :: WordPress 2.9
... pre_user_url private_title_format private_to_published profile_personal_options profile_update protected_title_format publish_phone pub_priv_sql_capability ... - get_posts_by_author_sql() WordPress function reference ...
Why you'd want to use it, I dunno. if ( ! $cap = apply_filters( ' pub_priv_sql_capability', '' ) ) $cap = $post_type_obj->cap->read_private_posts; if ( $full ) { if ( null ...