Skip to main content

Action: dt_push_network_post

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

Parameters

NameTypeDescription
$new_post_idintThe newly created post.
$post_idintThe original post.
$argsarrayThe arguments passed into wp_insert_post.
$this\NetworkSiteConnectionThe Distributor connection being pushed to.

Since

  • 2.0.0

Source

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

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.