I am using Gravity Form for users to submit posts, the form ignores the post expirator settings, what is the function all of this plugin, maybe there is a way of adding it to the gravity forms?
Hi,
Is there an example of this, I have custom field values set and simply want to use a custom field value for the expiration, this seems to be what this option was created for but there is no documentation I can see to give an example of how to use it?
Many thanks
So – are you saying you are wanting to set a post to expire by just setting a value instead of using the meta box to configure it when editing the post?
The meta boxes I am fine with and can set a value easily enough, I have actually solved this now using a simple cron job and wp_schedule_event, its perfect for what I need as I only need look at one post type value and can use a calculation from an existing meta value.
Many thanks for your reply.
This will be changing in the new version – the guts are being re-written. I could easily adjust it so there is a separate function that does the expiration scheduling that you could just call with the correct variables for custom integration.