unregistered_taxonomy
Fires after a taxonomy is unregistered.
Usage
add_action( 'unregistered_taxonomy', 'wp_kama_unregistered_taxonomy_action' ); /** * Function for `unregistered_taxonomy` action-hook. * * @param string $taxonomy Taxonomy name. * * @return void */ function wp_kama_unregistered_taxonomy_action( $taxonomy ){ // action... }
- $taxonomy(string)
- Taxonomy name.
Changelog
Since 4.5.0 | Introduced. |
Where the hook is called
unregistered_taxonomy
wp-includes/taxonomy.php 632
do_action( 'unregistered_taxonomy', $taxonomy );