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.

Top ↑

Parameters Parameters


(array) (Required) Numeric array of arguments from the originating hook.

Top ↑

Return Return


Top ↑

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 );

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.