Description
Disable a filter but leave it in place
Usage
bw_disable_filter( $tag, $function_to_replace, $priority );Parameters
- $tag
- ( string ) required – the filter name e.g. 'the_content'
- $function_to_replace
- ( string ) required – the name of the filter function to remove (well, replace)
- $priority
- ( integer ) optional default: 10 – the priority of the function. This has to match
Returns
voidSource
File name: oik/includes/oik-filters.incLines:
1 to 3 of 3
function bw_disable_filter( $tag, $function_to_replace, $priority=10 ) { bw_replace_filter( $tag, $function_to_replace, $priority ); }View on GitHub View on Trac
Called by
1 to 3 of 3
Invoked by
Calls
1 to 1 of 1
