register_taxonomy_args WordPress Filter Hook
The register_taxonomy_args hook is used to modify the arguments that are used when registering a custom taxonomy. This hook allows you to change the labels, description, public, show_ui, show_in_nav_menus, show_tagcloud, show_admin_column, and Capabilities arguments.
apply_filters( 'register_taxonomy_args', array $args , string $taxonomy , string[] $object_type ) #
Filters the arguments for registering a taxonomy.
Parameters
- $args
(array)Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.
- $taxonomy
(string)Taxonomy key.
- $object_type
(string[])Array of names of object types for the taxonomy.
Source
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |