tao-software / tao-schedule-update

Wordpress Plugin to Schedule Content Updates
https://wordpress.org/plugins/tao-schedule-update/
MIT License
16 stars 14 forks source link

Add filters to prevent specific metadata or taxonomies from being copied #39

Open tao-software opened 3 years ago

tao-software commented 3 years ago

This is a small compatibility improvement. There may be some metadata or taxonomies that should not be copied to the Schedule and back.

These filters allow developers to prevent specific metadata, that may cause issues when added to the scheduled posts, to be ignored. In that case this metadata will not be updated when the Scheduled Post resolves and stay the same.

Syberspace commented 3 years ago

Please do add apropriate comments to the added filters. for an example check https://github.com/tao-software/tao-schedule-update/blob/15b31d5751f63b996eda4a782e578296c2d10d16/tao-schedule-update.php#L706-L713