Description
Dummy filter used for disabled filtersInstead 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 argSource
File name: oik/includes/oik-filters.incLines:
1 to 3 of 3
function bw_disabled_filter( $arg ) { return( $arg ); }View on GitHub View on Trac
