Filter: dt_pull_post_args

apply_filters( 'dt_pull_post_args', $post_array, $remote_post_id, $post, $this ) → {array}

Filter the arguments passed into wp_insert_post during a pull.

Parameters:
Name Type Description
$post_array array

The post data to be inserted.

$remote_post_id array

The remote post ID.

$post object

The request that got the post.

$this ExternalConnection

The Distributor connection pulling the post.

Since:
  • 1.0
Source:
Returns:

The post data to be inserted.

Type
array