Contents

BP_Background_Updater::schedule_event()

Schedule fallback event.

Description

Source

File: bp-core/classes/class-bp-background-updater.php

70
71
72
73
74
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 );
    }
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.