Action: dt_before_set_meta

do_action( 'dt_before_set_meta', $meta, $post_id )

Fires before Distributor sets post meta.

All sent meta is included in the $meta array, including excluded keys. Any excluded keys returned in this filter will be subsequently removed from the saved meta data.

Parameters:
Name Type Description
$meta array

All received meta for the post

$post_id int

Post ID

Since:
  • 2.0.0
Source: