wp_super_cache_wptouch_browsers()
No Hooks.
Return
null
. Nothing (null).
Usage
wp_super_cache_wptouch_browsers( $browsers );
- $browsers (required)
- -
wp_super_cache_wptouch_browsers() wp super cache wptouch browsers code WPSCache 1.12.4
function wp_super_cache_wptouch_browsers( $browsers ) { global $wptouch_exclude_ua, $wp_cache_config_file; if ( false === function_exists( 'bnc_wptouch_get_exclude_user_agents' ) || false === function_exists( 'bnc_wptouch_get_user_agents' ) ) { return $browsers; } $browsers = implode( ',', bnc_wptouch_get_exclude_user_agents() ); // hack, support exclude agents too. if ( $browsers !== $wptouch_exclude_ua ) { wp_cache_replace_line( '^ *\$wptouch_exclude_ua', "\$wptouch_exclude_ua = '$browsers';", $wp_cache_config_file ); $wptouch_exclude_ua = $browsers; } return bnc_wptouch_get_user_agents(); }