w3tc_browsercache_rules_section_extensions

w3tc_browsercache_rules_section_extensions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: w3-total-cache.2.8.0

apply_filters('w3tc_browsercache_rules_section_extensions') is found 1 times:

  • /BrowserCache_Environment.php line 705
    		$unset_setcookie = $config->get_boolean( 'browsercache.' . $section . '.nocookies' );
    		$set_last_modified = $config->get_boolean( 'browsercache.' . $section . '.last_modified' );
    		$compatibility = $config->get_boolean( 'pgcache.compatibility' );
    
    		$mime_types2 = apply_filters( 'w3tc_browsercache_rules_section_extensions',
    			$mime_types, $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 ) {
    

See this hook used in plugins: