Filter: ep_skip_action_set_object_terms

apply_filters( 'ep_skip_action_set_object_terms', $skip, $post_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids ) → {boolean}

Filter to allow skipping this action in case of custom handling

Parameters:
Name Type Description
$skip bool

True means kill sync for post

$post_id int

ID of post

$terms array

An array of object terms.

$tt_ids array

An array of term taxonomy IDs.

$taxonomy string

Taxonomy slug.

$append bool

Whether to append new terms to the old terms.

$old_tt_ids array

Old array of term taxonomy IDs.

Source:
Returns:

New value

Type
boolean