WP_Site_Health::wp_schedule_test_init()privateWP 5.2.0

Initiates the WP_Cron schedule test cases.

Method of the class: WP_Site_Health{}

No Hooks.

Return

null. Nothing.

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() code WP 6.1.1

private function wp_schedule_test_init() {
	$this->schedules = wp_get_schedules();
	$this->get_cron_tasks();
}