unregistered_taxonomy
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 | Введена. |
Где вызывается хук
unregistered_taxonomy
wp-includes/taxonomy.php 632
do_action( 'unregistered_taxonomy', $taxonomy );