Last active
May 4, 2016 15:27
-
-
Save rmpel/eea01af4e162ca74ad8c736fe16ea369 to your computer and use it in GitHub Desktop.
WordPress Custom schedule timer
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', function( $schedules ) { | |
$schedules['quarterly'] = array( | |
"interval" => HOUR_IN_SECONDS/4, | |
"display" => "Every 15 minutes" | |
); | |
return $schedules; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment