apply_filters( 'dt_push_post_meta', true, $new_post_id, $post_meta, $post_id, $args, $this ) → {bool}
Allow bypassing of all meta processing.
Parameters:
Name | Type | Description |
---|---|---|
true |
bool | If Distributor should push the post meta. |
$new_post_id |
int | The newly created post ID. |
$post_meta |
array | Meta attached to the post, formatted by \Distributor\Utils\prepare_meta(). |
$post_id |
int | The original post ID. |
$args |
array | The arguments passed into wp_insert_post. |
$this |
Connection | The distributor connection being pushed to. |
Returns:
If Distributor should push the post meta.
- Type
- bool