You appear to be a bot. Output may be restricted
Dequeue the next scheduled instance of an action with a matching hook (and optionally matching args and group).
Any recurring actions with a matching hook should also be cancelled, not just the next scheduled action.
File name: woocommerce/includes/interfaces/class-wc-queue-interface.php
public function cancel( $hook, $args = array(), $group = '' );