Skip to main content

Filter: dt_before_set_meta

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​

NameTypeDescription
$metaarrayAll received meta for the post
$post_idintPost ID

Since​

  • 2.0.0

Source​

Defined in includes/utils.php at line 174

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.