unregistered_taxonomy хук-событиеWP 4.5.0

Fires after a taxonomy is unregistered.

Использование

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(строка)
Taxonomy name.

Список изменений

С версии 4.5.0 Введена.

Где вызывается хук

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

Где используется хук в WordPress

Использование не найдено.