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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/register_taxonomy_args