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



default_category_post_types › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'default_category_post_types', array()
Parameter:
  • () post_types An array of post type names. Default empty array.
    Erforderlich: Ja
Definiert in:
Codex:

Filters post types (in addition to 'post') that require a default category.





Quellcode

$default_category_post_types = apply_filters( 'default_category_post_types', array() );