w3tc_pagecache_rules_apache_uri_prefix

w3tc_pagecache_rules_apache_uri_prefix

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_pagecache_rules_apache_uri_prefix') is found 1 times:

  • /PgCache_Environment.php line 782
    		 */
    		$uri_prefix =  $cache_path . '/%{HTTP_HOST}/%{REQUEST_URI}/' .
    			'_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 = " -" . ( $config->get_boolean( 'pgcache.file.nfs' ) ? 'F' : 'f' );
    
    		$document_root = Util_Rule::apache_docroot_variable();
    
    

See this hook used in plugins: