Hi @dagius
Thanks for using Post Expirator. Could you explain this more, please? What does “need a taxonomy term” mean?
Hey @dagius and @stevejburge – As far as I can follow, I assume it’s meant to set an expiration date for your plugin automatically using our plugin WP Webhooks.
While we support custom post meta and taxonomy meta values, to make that work it’s important to know whether you save the dynamic expiration date within the meta structure, the taxonomies, or somewhere else. Depending on that, @dagius can add it dynamically using webhooks.
Do let me know in case you have any further questions in regards to the structure from our end.
Thanks @ironikus. Our scheduling is done with cron jobs: https://publishpress.com/knowledge-base/scheduling-cron-jobs/
(apologies for the somewhat basic documentation. We just took over the plugin.)
Hey @stevejburge – Thank you for your answer. Is it required to also set the corn task or is it available for all posts by default?
Otherwise, we would be able to only set the required post meta values.
Hi @ironikus. You will need to create the cron job too. The metadata contains the information about what happens when that cron job runs.
Thread Starter
dagius
(@dagius)
Steve
It appears that the Post Expiration date is a meta-term. Can this be set by webhook if the post is created via webhook?
Hi @dagius
Sorry, we’ve just taken over this plugin and are still getting rolling with this plugin, including standing up documentation.
Does this code example help? https://publishpress.com/knowledge-base/technical-details/