Action: dt_push_network_post

do_action( 'dt_push_network_post', $new_post_id, $post_id, $args, $this )

Fires the action after a post is pushed via Distributor before restore_current_blog().

Parameters:
Name Type Description
$new_post_id int

The newly created post.

$post_id int

The original post.

$args array

The arguments passed into wp_insert_post.

$this NetworkSiteConnection

The Distributor connection being pushed to.

Since:
  • 2.0.0
Source: