WordPress at Your Fingertips
function is not described

WP_Site_Health::wp_schedule_test_init() private WP 5.2.0

Initiate the WP_Cron schedule test cases.

{} It's a 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.

Code of WP_Site_Health::wp_schedule_test_init() WP 5.8.2

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