wphooks.info - unregistered_taxonomy_for_object_type

unregistered_taxonomy_for_object_type

(trunk - 5.1-alpha-44286)

*** New in trunk ***

The hook occurs in the following file:

wp-includes/taxonomy.php:
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
	unset( $wp_taxonomies[ $taxonomy ]->object_type[ $key ] );

	/**
	 * Fires after a taxonomy is unregistered for an object type.
	 *
	 * @since 4.9.9
	 *
	 * @param string $taxonomy    Taxonomy name.
	 * @param string $object_type Name of the object type.
	 */
	do_action( 'unregistered_taxonomy_for_object_type', $taxonomy, $object_type );

	return true;
}

//
// Term API
//

/**