id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 35357,Introduce did_filter(),mordauk,chriscct7,"I think there should a `did_filter( $tag )` function that mimics the existing `did_action( $tag )` function. While actions and filters are pretty much the same thing, it turns out that you can't actually use `did_action()` to detect when a filter has been run. {{{ function did_filter( $tag = '' ) { global $wp_filter; if ( ! isset( $wp_filter[ $tag ] ) ) { return 0; } return $wp_filter[ $tag ]; } }}}",enhancement,closed,normal,6.1,Plugins,2.1,normal,fixed,has-patch has-unit-tests needs-dev-note,,