Created
December 2, 2014 20:26
-
-
Save Tmeister/0a7c87ba943d4b2eebdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'cron_schedules', 'add_custom_cron_schedule' ); | |
function add_custom_cron_schedule( $schedules ){ | |
$schedules['minute'] = array( | |
'interval' => 60 * 1, | |
'display' => __('Every Minute') | |
); | |
return $schedules; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment