do_action( 'dt_push_post', $new_post_id, $post_id, $args, $this )
Fires after a post is pushed via Distributor before restore_current_blog()
.
Parameters:
Name | Type | Description |
---|---|---|
$new_post_id |
int | The newly created post ID. |
$post_id |
int | The original post ID. |
$args |
array | The arguments passed into wp_insert_post. |
$this |
Connection | The Distributor connection being pushed to. |