apply_filters( 'dt_pull_post_meta', true, $new_post_id, $post_meta, $remote_post_id, $post_array, $this ) → {bool}
Allow bypassing of all meta processing.
Parameters:
Name | Type | Description |
---|---|---|
true |
bool | If Distributor should set the post meta. |
$new_post_id |
int | The newly created post ID. |
$post_meta |
array | List of meta items attached to the post, formatted by \Distributor\Utils\prepare_meta(). |
$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. |
Returns:
If Distributor should set the post meta.
- Type
- bool