WordPress at Your Fingertips
function is not described

ActionScheduler_QueueRunner::add_wp_cron_schedule() public WC 1.0

{} It's a method of the class: ActionScheduler_QueueRunner{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_QueueRunner = new ActionScheduler_QueueRunner();
$ActionScheduler_QueueRunner->add_wp_cron_schedule( $schedules );
$schedules (required)
-

Code of ActionScheduler_QueueRunner::add_wp_cron_schedule() WC 6.1.0

public function add_wp_cron_schedule( $schedules ) {
	$schedules['every_minute'] = array(
		'interval' => 60, // in seconds
		'display'  => __( 'Every minute', 'woocommerce' ),
	);

	return $schedules;
}