Action hook 'added_term_relationship'

in WP Core File wp-includes/taxonomy.php at line 2887

Description

Fires immediately after an object-term relationship is added.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 2887

Parameters

Type Name Description
int $object_id Object ID.
int $tt_id Term taxonomy ID.
string $taxonomy Taxonomy slug.

PHP Doc

/**
		 * Fires immediately after an object-term relationship is added.
		 *
		 * @since 2.9.0
		 * @since 4.7.0 Added the `$taxonomy` parameter.
		 *
		 * @param int    $object_id Object ID.
		 * @param int    $tt_id     Term taxonomy ID.
		 * @param string $taxonomy  Taxonomy slug.
		 */