registered_taxonomy action-hook . WP 3.3.0
Fires after a taxonomy is registered.
Usage
add_action( 'registered_taxonomy', 'action_function_name_3367', 10, 3 ); function action_function_name_3367( $taxonomy, $object_type, $args ){ // action... }
- $taxonomy(string)
- Taxonomy slug.
- $object_type(array/string)
- Object type or array of object types.
- $args(array)
- Array of taxonomy registration arguments.
Where the hook is called
registered_taxonomy
wp-includes/taxonomy.php 442
do_action( 'registered_taxonomy', $taxonomy, $object_type, (array) $taxonomy_object );