Action: dt_pull_post

do_action( 'dt_pull_post', $new_post_id, $this, $post_array )

Action triggered when a post is pulled via distributor. Fires after a post is pulled via Distributor and after restore_current_blog().

Parameters:
Name Type Description
$new_post_id int

The new post ID that was pulled.

$this Connection

The Distributor connection pulling the post.

$post_array array

The original post data retrieved via the connection.

Since:
  • 1.0
Source: