On this page
do_action( "registered_taxonomy_{$taxonomy}", string $taxonomy, array|string $object_type, array $args )
Fires after a specific taxonomy is registered.
Description
The dynamic portion of the filter name, $taxonomy, refers to the taxonomy key.
Possible hook names include:
registered_taxonomy_categoryregistered_taxonomy_post_tag
Parameters
$taxonomystring-
Taxonomy slug.
$object_typearray|string-
Object type or array of object types.
$argsarray-
Array of taxonomy registration arguments.
Source
File: wp-includes/taxonomy.php. View all references
do_action( "registered_taxonomy_{$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 |
|---|---|
| 6.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/registered_taxonomy_taxonomy