wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



pub_priv_sql_capability › WordPress Filter Hooks

Seit2.2.0
VeraltetThe hook transitioned from "somewhat useless" to "totally useless".
$cap = apply_filters_deprecated( 'pub_priv_sql_capability', array( '' ), '3.2.0' );
Parameter:
  • () cap Capability.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the capability to read private posts for a custom post type when generating SQL for getting posts by author.





Quellcode

$cap = apply_filters_deprecated( 'pub_priv_sql_capability', array( '' ), '3.2.0' );