wphooks.info - unregistered_taxonomy

unregistered_taxonomy

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/taxonomy.php:
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
	// Remove the taxonomy.
	unset( $wp_taxonomies[ $taxonomy ] );

	/**
	 * Fires after a taxonomy is unregistered.
	 *
	 * @since 4.5.0
	 *
	 * @param string $taxonomy Taxonomy name.
	 */
	do_action( 'unregistered_taxonomy', $taxonomy );

	return true;
}

/**
 * Builds an object with all taxonomy labels out of a taxonomy object.
 *
 * @since 3.0.0
 * @since 4.3.0 Added the `no_terms` label.