Action: dt_push_post

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.

$post_id int

The original post.

$args array

The arguments passed into wp_insert_post.

$this Connection

The Distributor connection being pushed to.

Since:
  • 1.2.2
Deprecated:
  • 2.0.0 The dt_push_post action has been deprecated. Please use dt_push_network_post or dt_push_external_post instead.
Source: