Filter: dt_pull_post_terms

apply_filters( 'dt_pull_post_terms', true, $new_post_id, $post_terms, $remote_post_id, $post_array, $this ) → {bool}

Allow bypassing of all terms processing.

Parameters:
Name Type Description
true bool

If Distributor should set the post terms.

$new_post_id int

The newly created post ID.

$post_terms array

List of terms items attached to the post, formatted by \Distributor\Utils\prepare_taxonomy_terms().

$remote_post_id int

The original post ID.

$post_array array

The arguments passed into wp_insert_post.

$this NetworkSiteConnection

The Distributor connection being pulled from.

Source:
Returns:

If Distributor should set the post terms.

Type
bool