Action hook 'set_object_terms'

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

Description

Fires after an object's terms have been set.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 2954

Parameters

Type Name Description
int $object_id Object ID.
array $terms An array of object term IDs or slugs.
array $tt_ids An array of term taxonomy IDs.
string $taxonomy Taxonomy slug.
bool $append Whether to append new terms to the old terms.
array $old_tt_ids Old array of term taxonomy IDs.

PHP Doc

/**
	 * Fires after an object's terms have been set.
	 *
	 * @since 2.8.0
	 *
	 * @param int    $object_id  Object ID.
	 * @param array  $terms      An array of object term IDs or slugs.
	 * @param array  $tt_ids     An array of term taxonomy IDs.
	 * @param string $taxonomy   Taxonomy slug.
	 * @param bool   $append     Whether to append new terms to the old terms.
	 * @param array  $old_tt_ids Old array of term taxonomy IDs.
	 */