WordPress at Your Fingertips
function is not described

WC_Action_Queue::cancel_all() public WC 1.0

Dequeue all actions with a matching hook (and optionally matching args and group) so no matching actions are ever run.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Action_Queue = new WC_Action_Queue();
$WC_Action_Queue->cancel_all( $hook, $args, $group );
$hook(string) (required)
The hook that the job will trigger.
$args(array)
Args that would have been passed to the job.
Default: array()
$group(string)
The group the job is assigned to (if any).
Default: ''

Code of WC_Action_Queue::cancel_all() WC 5.9.0

public function cancel_all( $hook, $args = array(), $group = '' ) {
	as_unschedule_all_actions( $hook, $args, $group );
}