Skip to content

Instantly share code, notes, and snippets.

@htdat
Last active December 6, 2017 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save htdat/bf5e9fb1257d163f974cac1327c40290 to your computer and use it in GitHub Desktop.
Save htdat/bf5e9fb1257d163f974cac1327c40290 to your computer and use it in GitHub Desktop.
Add the custom email frequency for WPJM Job Alerts
function htdat_job_manager_alerts_alert_schedules ( $schedules ) {
$schedules['monthly'] = array(
'interval' => 86400 * 30,
'display' => __( 'Monthly', 'wp-job-manager-alerts' )
);
return $schedules;
}
add_filter('job_manager_alerts_alert_schedules', 'htdat_job_manager_alerts_alert_schedules');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment