Action: dt_push_external_post
Fires the action after a post is pushed via Distributor before remote request validation.
Parameters
| Name | Type | Description |
|---|---|---|
| $response | `array | \WP_Error` |
| $post_body | array | The Post data formatted for the REST API endpoint. |
| $type_url | string | The Post type api endpoint. |
| $post_id | int | The Post id. |
| $args | array | The arguments passed into wp_insert_post. |
| $this | \WordPressExternalConnection | The Distributor connection being pushed to. |
Since
- 2.0.0
Source
Defined in includes/classes/ExternalConnections/WordPressExternalConnection.php at line 607