w3tc_browsercache_rules_section_extensions, $mime_types, $w3tc_config, $section
w3tc_browsercache_rules_section_extensions, $mime_types, $w3tc_config, $section
Appears in: w3-total-cache.2.10.3
Hook Type: filter
Displaying hooks found in version: w3-total-cache.2.10.3apply_filters('w3tc_browsercache_rules_section_extensions, $mime_types, $w3tc_config, $section') is found 1 times:
- /BrowserCache_Environment.php line 751
$unset_setcookie = $w3tc_config->get_boolean( 'browsercache.' . $section . '.nocookies' ); $set_last_modified = $w3tc_config->get_boolean( 'browsercache.' . $section . '.last_modified' ); $compatibility = $w3tc_config->get_boolean( 'pgcache.compatibility' ); $mime_types2 = apply_filters( 'w3tc_browsercache_rules_section_extensions', $mime_types, $w3tc_config, $section ); $extensions = array_keys( $mime_types2 ); // Remove ext from filesmatch if its the same as permalink extension. $pext = strtolower( pathinfo( get_option( 'permalink_structure' ), PATHINFO_EXTENSION ) ); if ( $pext ) { $extensions = Util_Rule::remove_extension_from_list( $extensions, $pext );