did_filter
did_filter ( $hook_name )
Parameters:- (string) hook_name The name of the filter hook.
Returns:- (int) The number of times the filter hook has been applied.
Defined at: - Introduced in WordPress: 6.1.0
- Deprecated in WordPress: —
Description
Retrieves the number of times a filter has been applied during the current request.