Changing Job Expiration Emails from 1 & 5 Days
I tried this a while ago without much luck. I'm wondering if anyone has done this. I'd like to be able to adjust when the Job expiration emails are sent, which is set to 1 and 5 days. Also being able to turn one off so it just gets sent say 1 day prior to expiration.
I think it'd be a great setting to have but in the meantime I think in the new theme it's controlled by job-status.php (in the includes folder). Maybe it's as easy as adjusting that 1, 5?
/**
* Retrieve a list of
that should trigger a user notification when a job reaches it
*
* filters: jr_expired_job_days_notify - change the default reminder days list
*
* @return array The days list
*/
function jr_get_expired_job_days_notify() {
$days_notify = array( 1, 5 );
return apply_filters( 'jr_expired_job_days_notify', $days_notify );
}
Appreciate any help.
Tim