w3tc_pagecache_rules_apache_uri_prefix, $uri_prefix

w3tc_pagecache_rules_apache_uri_prefix, $uri_prefix

Hook Type: filter

See hook in core

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

apply_filters('w3tc_pagecache_rules_apache_uri_prefix, $uri_prefix') is found 1 times:

  • /PgCache_Environment.php line 999
     
    		// Make final rewrites for specific files.
    		$uri_prefix = $cache_path . '/%{HTTP_HOST}/' . $env_uri_path_slash . '_index' . $env_W3TC_SLASH .
    			$env_W3TC_UA . $env_W3TC_REF . $env_W3TC_COOKIE . $env_W3TC_SSL . $env_W3TC_PREVIEW;
    		$uri_prefix = apply_filters( 'w3tc_pagecache_rules_apache_uri_prefix', $uri_prefix );
    
    		$switch = ' -' . ( $w3tc_config->get_boolean( 'pgcache.file.nfs' ) ? 'F' : 'f' );
    
    		$document_root = Util_Rule::apache_docroot_variable();
    
    		// write rule to rewrite to .html/.xml file.