unregistered_taxonomy action-hookWP 4.5.0

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

unregister_taxonomy()
unregistered_taxonomy
wp-includes/taxonomy.php 598
do_action( 'unregistered_taxonomy', $taxonomy );

Where the hook is used in WordPress

Usage not found.