LLMS_REST_Webhook::is_already_processed( array $args )
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
- $args
-
(array) (Required) Numeric array of arguments from the originating hook.
Return Return
(bool)
Source Source
File: libraries/lifterlms-rest/includes/models/class-llms-rest-webhook.php
protected function is_already_processed( $args ) { return false !== array_search( $args[0], $this->processed, true ); }
Expand full source code Collapse full source code View on GitHub