Created
June 2, 2020 14:32
-
-
Save maheshwaghmare/7c0c7c0bad7cecca0ef5ef3b1ec2d398 to your computer and use it in GitHub Desktop.
Use function wp_get_schedules() to see all scheduled events. See https://maheshwaghmare.com/doc/wordpress-cron/
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 | |
print_r( wp_get_schedules() ); | |
// Array | |
// ( | |
// [hourly] => Array | |
// ( | |
// [interval] => 3600 | |
// [display] => Once Hourly | |
// ) | |
// [twicedaily] => Array | |
// ( | |
// [interval] => 43200 | |
// [display] => Twice Daily | |
// ) | |
// [daily] => Array | |
// ( | |
// [interval] => 86400 | |
// [display] => Once Daily | |
// ) | |
// [weekly] => Array | |
// ( | |
// [interval] => 604800 | |
// [display] => Once Weekly | |
// ) | |
// ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment