Action: load custom taxonomy

Description

“tcp_load_custom_taxonomy” action is executed when a custom taxonomies is registered.

Parameters

$taxonomy
(String) Identifier of the taxonomy.
$taxonomy info
(Array) an array with labels and taxonomy registration data.

Example

<?php
function my_tcp_load_custom_taxonomy( $taxonomy, $taxonomy_info ) {
}
add_action( 'tcp_load_custom_taxonomy', 'my_tcp_load_custom_taxonomy', 10, 2 ); ?>

Related

tcp_load_custom_post_types

Change Log

Since 1.2.7