WordPress at a glance
function is not described

WC_Queue_Interface::add() public WC 1.0

Enqueue an action to run one time, as soon as possible

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

No Hooks.

Return

String. The action ID

Usage

$WC_Queue_Interface = new WC_Queue_Interface();
$WC_Queue_Interface->add( $hook, $args, $group );
$hook(string) (required)
The hook to trigger.
$args(array)
Arguments to pass when the hook triggers.
$group(string)
The group to assign this job to.

Code of WC_Queue_Interface::add() WC 5.0.0

<?php
public function add( $hook, $args = array(), $group = '' );