Alert: 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.

WP_Site_Health::wp_schedule_test_init() WordPress Method

The WP_Site_Health::wp_schedule_test_init() method is used to schedule a test for a WordPress site. This is useful for checking if a site is up and running or for troubleshooting purposes.

WP_Site_Health::wp_schedule_test_init() #

Initiate the WP_Cron schedule test cases.


Source

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

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


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.