wordpress / latest / classes / wp_site_health / wp_schedule_test_init.html

WP_Site_Health::wp_schedule_test_init()

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Initiates the WP_Cron schedule test cases.

Source

File: wp-admin/includes/class-wp-site-health.php. View all references

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

Uses

Uses Description

Changelog

Version Description
5.2.0 Introduced.

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