w3tc_pagecache_rules_nginx_uri_prefix

w3tc_pagecache_rules_nginx_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.2

apply_filters('w3tc_pagecache_rules_nginx_uri_prefix') is found 1 times:

  • /PgCache_Environment.php line 1214
     
    		$cache_path = str_replace( Util_Environment::document_root(), '',
    			$cache_dir );
    		$uri_prefix = "$cache_path/\$http_host/$env_request_uri/_index$key_postfix";
    		$uri_prefix = apply_filters( 'w3tc_pagecache_rules_nginx_uri_prefix',
    			$uri_prefix );
    
    		if ( !$config->get_boolean( 'pgcache.cache.nginx_handle_xml' ) ) {
    			$env_w3tc_ext = '.html';
    
    			$rules .= 'if (!-f "$document_root' . $uri_prefix . '.html' .
    

See this hook used in plugins: