WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about set_object_terms

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php do_action 2879 /**
* 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.
*/

Hook Parameters

Parameter 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.