Skip to main content

Action: dt_pull_post

Action triggered when a post is pulled via distributor.

Fires after a post is pulled via Distributor and after restore_current_blog().

Parameters

NameTypeDescription
$new_post_idintThe new post ID that was pulled.
$this\ConnectionThe Distributor connection pulling the post.
$post_arrayarrayThe original post data retrieved via the connection.

Since

  • 1.0

Source

Defined in includes/classes/InternalConnections/NetworkSiteConnection.php at line 425

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.