WP_Site_Health::wp_schedule_test_init
Initiates the WP_Cron schedule test cases.
Method of the class: WP_Site_Health{}
No Hooks.
Returns
null. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->wp_schedule_test_init();
Changelog
| Since 5.2.0 | Introduced. |
WP_Site_Health::wp_schedule_test_init() WP Site Health::wp schedule test init code WP 7.0
private function wp_schedule_test_init() {
$this->schedules = wp_get_schedules();
$this->get_cron_tasks();
}