unregistered_taxonomy_for_object_type action-hook . WP 5.1.0
Fires after a taxonomy is unregistered for an object type.
Usage
add_action( 'unregistered_taxonomy_for_object_type', 'action_function_name_92', 10, 2 ); function action_function_name_92( $taxonomy, $object_type ){ // action... }
- $taxonomy(string)
- Taxonomy name.
- $object_type(string)
- Name of the object type.
Changelog
Since 5.1.0 | Introduced. |
Where the hook is called
unregistered_taxonomy_for_object_type
wp-includes/taxonomy.php 715
do_action( 'unregistered_taxonomy_for_object_type', $taxonomy, $object_type );