WordPress at a glance
action is not described

added_term_relationship action-hook . WP 2.9.0

Fires immediately after an object-term relationship is added.

Usage

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

Notes

  • Since 4.7.0 Added the $taxonomy parameter.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.