WP_Site_Health::wp_schedule_test_init
Initiates the WP_Cron schedule test cases.
Метод класса: WP_Site_Health{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->wp_schedule_test_init();
Список изменений
| С версии 5.2.0 | Введена. |
Код WP_Site_Health::wp_schedule_test_init() WP Site Health::wp schedule test init WP 7.0
private function wp_schedule_test_init() {
$this->schedules = wp_get_schedules();
$this->get_cron_tasks();
}