WC_Queue_Interface::cancel_all()publicWC 1.0

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

Метод класса: WC_Queue_Interface{}

Хуков нет.


null. Ничего (null).


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

Код WC_Queue_Interface::cancel_all() WC 8.9.3

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