Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this filter to adjust the cron job.
Usage
add_filter('frm_mark_abandonment_entries_period', 'change_cron_job');
Parameters
- None
Examples
Change cron job
Use this code example to change the default 1 hour between In Progress cron job to Abandoned.
add_filter('frm_mark_abandonment_entries_period', 'change_cron_job');
function change_cron_job() {
return 70; ///This is 60 minute by default, now it turns to 70 minutes by utilizing this hook.
}