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:

Description

Retrieves the number of times a filter has been applied during the current request.

Related Functions

add_filter, doing_filter, has_filter, wp_list_filter, remove_filter

Top Google Results

User discussions

wpseek mobile