• Hello,

    Your custom cron interval code is overriding other codes. Please update it as demonstrated below:
    Old code:
    public static function wpim_cron_schedules() {

    return [ ‘weekly’ => [ ‘interval’ => 604800, ‘display’ => ‘Once Weekly’ ] ];

    }


    Updated code:
    public static function wpim_cron_schedules( $schedules ) {

    $schedules[‘weekly’] = array(

    ‘interval’ => 604800,

    ‘display’ => ‘Once Weekly’,

    );

    return $schedules;

    }

  • The topic ‘Add custom cron interval’ is closed to new replies.