W3cubDocs

/WordPress

WP_Site_Health::wp_schedule_test_init()

Initiates the WP_Cron schedule test cases.

Source

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

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_site_health/wp_schedule_test_init