wpseek.com
A WordPress-centric search engine for devs and theme authors



register_{$taxonomy}_taxonomy_args › WordPress Filter Hooks

Since6.0.0
Deprecatedn/a
apply_filters( "register_{$taxonomy}_taxonomy_args", $args, $this->name, (array)
Parameters: (3)
  • (array) $args Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.
    Required: Yes
  • (string) $taxonomy Taxonomy key.
    Required: Yes
  • (string[]) $object_type Array of names of object types for the taxonomy.
    Required: Yes
Defined at:
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




Source

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