DiviArea.applyFilters()

DiviArea.applyFilters(hook, value, ...params)

// Alias:
DiviArea.Hooks.applyFilters(hook, value, ...params)

Applies all previously registered filter hooks and returns the filtered value.

Params

hook string, required
Hook name.
value mixed, required
The value to filter.
...params mixed, optional
Additional params to pass to the callback functions.

Returns

Returns the filtered value.

Notes

No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support