You appear to be a bot. Output may be restricted
Description
Dummy filter used for disabled filters
Instead of unsetting the function for a disabled filter we replace it with a simple function that returns the value first thought of. Question: Is this safe? Are there filters that don't return the first arg?
Usage
$mixed = bw_disabled_filter( $arg );
Parameters
- $arg
- ( mixed ) required –
Returns
mixed whatever we got passed in the first arg
Source
File name: oik/includes/oik-filters.inc
Lines:
1 to 3 of 3
function bw_disabled_filter( $arg ) { return( $arg ); }