WC_Install::cron_schedules()public staticWC 1.0

Add more cron schedules.

Method of the class: WC_Install{}

No Hooks.

Return

Array.

Usage

$result = WC_Install::cron_schedules( $schedules );
$schedules(array) (required)
List of WP scheduled cron jobs.

WC_Install::cron_schedules() code WC 9.4.2

public static function cron_schedules( $schedules ) {
	$schedules['monthly']     = array(
		'interval' => 2635200,
		'display'  => __( 'Monthly', 'woocommerce' ),
	);
	$schedules['fifteendays'] = array(
		'interval' => 1296000,
		'display'  => __( 'Every 15 Days', 'woocommerce' ),
	);
	return $schedules;
}