Skip to main content

Action: dt_push_external_post

Fires the action after a post is pushed via Distributor before remote request validation.

Parameters

NameTypeDescription
$response`array\WP_Error`
$post_bodyarrayThe Post data formatted for the REST API endpoint.
$type_urlstringThe Post type api endpoint.
$post_idintThe Post id.
$argsarrayThe arguments passed into wp_insert_post.
$this\WordPressExternalConnectionThe Distributor connection being pushed to.

Since

  • 2.0.0

Source

Defined in includes/classes/ExternalConnections/WordPressExternalConnection.php at line 607

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.