w3tc_pagecache_rules_nginx_rewrite_cond
w3tc_pagecache_rules_nginx_rewrite_cond
Appears in: w3-total-cache.2.10.1
Hook Type: filter
See hook in action
Displaying hooks found in version: w3-total-cache.2.10.1apply_filters('w3tc_pagecache_rules_nginx_rewrite_cond') is found 1 times:
- /PgCache_Environment.php line 1283
* @since 2.10.1 * * @param string $rewrite_conditions Nginx rewrite-suppression conditions buffer (starts empty). */ $rewrite_cond = (string) \apply_filters( 'w3tc_pagecache_rules_nginx_rewrite_cond', '' ); if ( '' !== $rewrite_cond ) { // Normalize to exactly one trailing newline so a callback that omits it cannot glue the next rule on. $rules .= rtrim( $rewrite_cond, "\n" ) . "\n"; } // Check mobile groups.