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