WordPress at a glance
action is not described

add_term_relationship action-hook . WP 2.9.0

Fires immediately before an object-term relationship is added.

Usage

add_action( 'add_term_relationship', 'action_function_name_2129', 10, 3 );
function action_function_name_2129( $object_id, $tt_id, $taxonomy ){
	// action...
}
$object_id(int)
Object ID.
$tt_id(int)
Term taxonomy ID.
$taxonomy(string)
Taxonomy slug.

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

С версии 2.9.0 Введена.
С версии 4.7.0 Added the $taxonomy parameter.

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

wp_set_object_terms()
add_term_relationship
wp-includes/taxonomy.php 2591
do_action( 'add_term_relationship', $object_id, $tt_id, $taxonomy );

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

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