Skip to main content

Filter: dt_pull_post_args

Filter the arguments passed into wp_insert_post during a pull.

Parameters

NameTypeDescription
$post_arrayarrayThe post data to be inserted.
$remote_post_idarrayThe remote post ID.
$postobjectThe request that got the post.
$this\ExternalConnectionThe Distributor connection pulling the post.

Since

  • 1.0

Source

Defined in includes/classes/ExternalConnections/WordPressExternalConnection.php at line 414

Returns

The post data to be inserted.

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.