WEEK_IN_SECONDS, 'display' => __( 'Once Weekly', 'accessmate' ), ]; } if ( ! isset( $schedules['monthly'] ) ) { $schedules['monthly'] = [ 'interval' => 30 * DAY_IN_SECONDS, 'display' => __( 'Once Monthly', 'accessmate' ), ]; } return $schedules; } public static function run(): void { $result = AccessMate_Scanner::run( get_site_url() ); update_option( 'accessmate_last_scan', $result ); } }