set_object_terms

Advertisement

Summery Summery

Fires after an object’s terms have been set.

Syntax Syntax

do_action( 'set_object_terms', int $object_id, array $terms, array $tt_ids, string $taxonomy, bool $append, array $old_tt_ids )

Parameters Parameters

$object_id

Object ID.

$terms

An array of object terms.

$tt_ids

An array of term taxonomy IDs.

$taxonomy

Taxonomy slug.

$append

Whether to append new terms to the old terms.

$old_tt_ids

Old array of term taxonomy IDs.

Source Source

File: wp-includes/taxonomy.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply