Filter: dt_pull_post_media
Allow bypassing of all media processing.
Parameters
| Name | Type | Description |
|---|---|---|
| $ | bool | true If Distributor should set the post media. |
| $new_post_id | int | The newly created post ID. |
| $post_media | array | List of media items attached to the post, formatted by {@link \Distributor\Utils\prepare_media()}. |
| $remote_post_id | int | The original post ID. |
| $post_array | array | The arguments passed into wp_insert_post. |
| $this | \NetworkSiteConnection | The Distributor connection being pulled from. |
Source
Defined in includes/classes/InternalConnections/NetworkSiteConnection.php at line 339
Returns
If Distributor should set the post media.