WordPress at a glance
function is not described

as_unschedule_all_actions() WC 1.0

Cancel all occurrences of a scheduled action.

No Hooks.

Return

null. Nothing.

Usage

as_unschedule_all_actions( $hook, $args, $group );
$hook(string) (required)
The hook that the job will trigger.
$args(array)
Args that would have been passed to the job.
$group(string)
The group the job is assigned to.

Code of as_unschedule_all_actions() WC 5.3.0

<?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 ) );
}