WC_Background_Emailer::schedule_event()protectedWC 1.0

Schedule fallback event.

Метод класса: WC_Background_Emailer{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->schedule_event();

Код WC_Background_Emailer::schedule_event() WC 8.7.0

protected function schedule_event() {
	if ( ! wp_next_scheduled( $this->cron_hook_identifier ) ) {
		wp_schedule_event( time() + 10, $this->cron_interval_identifier, $this->cron_hook_identifier );
	}
}