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(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |