On this page
do_action( 'registered_taxonomy', string $taxonomy, array|string $object_type, array $args )
Fires after a taxonomy is registered.
Parameters
$taxonomystring-
Taxonomy slug.
$object_typearray|string-
Object type or array of object types.
$argsarray-
Array of taxonomy registration arguments.
More Information
registered_taxonomy is a hook triggered after a custom taxonomy has been registered. This hook provides the taxonomy key, the name of the object type for the taxonomy object, and arguments used to register the taxonomy as parameters.
Source
File: wp-includes/taxonomy.php. View all references
do_action( 'registered_taxonomy', $taxonomy, $object_type, (array) $taxonomy_object );
Related
Used By
| Used By | Description |
|---|---|
| register_taxonomy() wp-includes/taxonomy.php | Creates or modifies a taxonomy object. |
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/registered_taxonomy