WC_Webhook::is_already_processed( mixed $arg )
Checks if the specified resource has already been queued for delivery within the current request.
Description Description
Helps avoid duplication of data being sent for topics that have more than one hook defined.
Parameters Parameters
- $arg
-
(Required) First hook argument.
Return Return
(bool)
Source Source
File: includes/class-wc-webhook.php
protected function is_already_processed( $arg ) { return false !== array_search( $arg, $this->processed, true ); }