Filter: dt_push_post_terms

apply_filters( 'dt_push_post_terms', true, $new_post_id, $post_terms, $post_id, $args, $this ) → {bool}

Allow bypassing of all term processing.

Parameters:
Name Type Description
true bool

If Distributor should push the post terms.

$new_post_id int

The newly created post ID.

$post_terms array

Terms attached to the post, formatted by \Distributor\Utils\prepare_taxonomy_terms().

$post_id int

The original post ID.

$args array

The arguments passed into wp_insert_post.

$this Connection

The distributor connection being pushed to.

Source:
Returns:

If Distributor should push the post terms.

Type
bool