WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

as_unschedule_all_actions() WC 1.0

Cancel all occurrences of a scheduled action.

Хуков нет.

Возвращает

Null. Ничего.

Использование

as_unschedule_all_actions( $hook, $args, $group );
$hook(строка) (обязательный)
The hook that the job will trigger.
$args(массив)
Args that would have been passed to the job.
По умолчанию: array()
$group(строка)
The group the job is assigned to.
По умолчанию: ''

Код as unschedule all actions: woocommerce/packages/action-scheduler/functions.php WC 4.3.1

<?php
function as_unschedule_all_actions( $hook, $args = array(), $group = '' ) {
	if ( ! ActionScheduler::is_initialized( __FUNCTION__ ) ) {
		return;
	}
	if ( empty( $args ) ) {
		if ( ! empty( $hook ) && empty( $group ) ) {
			ActionScheduler_Store::instance()->cancel_actions_by_hook( $hook );
			return;
		}
		if ( ! empty( $group ) && empty( $hook ) ) {
			ActionScheduler_Store::instance()->cancel_actions_by_group( $group );
			return;
		}
	}
	do {
		$unscheduled_action = as_unschedule_action( $hook, $args, $group );
	} while ( ! empty( $unscheduled_action ) );
}