WC_Background_Emailer::schedule_event
Schedule fallback event.
Method of the class: WC_Background_Emailer{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->schedule_event();
WC_Background_Emailer::schedule_event() WC Background Emailer::schedule event code WC 10.6.2
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 );
}
}