wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pub_priv_sql_capability › Filtr WordPress Hooks

Od2.2.0
PrzestarzałyThe hook transitioned from "somewhat useless" to "totally useless".
› $cap = apply_filters_deprecated( 'pub_priv_sql_capability', array( '' ), '3.2.0' );
Parametry:
  • () cap Capability.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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