wpseek.com
A WordPress-centric search engine for devs and theme authors
pub_priv_sql_capability › WordPress Filter Hooks
Since2.2.0
DeprecatedThe hook transitioned from "somewhat useless" to "totally useless".
› $cap = apply_filters_deprecated( 'pub_priv_sql_capability', array( '' ), '3.2.0' );
| Parameters: |
|
| Defined at: |
|
| Codex: |
Filters the capability to read private posts for a custom post type when generating SQL for getting posts by author.
Related Functions: wp_register_ability, wp_unregister_ability, wp_get_ability, wp_has_ability, wp_parse_slug_list, get_post_type_capabilities