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



register_{$taxonomy}_taxonomy_args › WordPress Filter Hooks

Seit6.0.0
Veraltetn/v
apply_filters( "register_{$taxonomy}_taxonomy_args", $args, $this->name, (array)
Parameter: (3)
  • (array) $args Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.
    Erforderlich: Ja
  • (string) $taxonomy Taxonomy key.
    Erforderlich: Ja
  • (string[]) $object_type Array of names of object types for the taxonomy.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the arguments for registering a specific taxonomy.

The dynamic portion of the filter name, $taxonomy, refers to the taxonomy key.

Possible hook names include:

  • register_category_taxonomy_args
  • register_post_tag_taxonomy_args




Quellcode

$args = apply_filters( "register_{$taxonomy}_taxonomy_args", $args, $this->name, (array) $object_type );