w3tc_pagecache_flush_all_groups, $groups_to_flush

w3tc_pagecache_flush_all_groups, $groups_to_flush

Hook Type: filter

See hook in core

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

apply_filters('w3tc_pagecache_flush_all_groups, $groups_to_flush') is found 1 times:

  • /PgCache_Flush.php line 367
    			if ( 'cache' === $this->_config->get_string( 'pgcache.rest' ) ) {
    				$groups_to_flush[] = 'rest';
    			}
    
    			$groups_to_flush = apply_filters( 'w3tc_pagecache_flush_all_groups', $groups_to_flush );
    
    			foreach ( $groups_to_flush as $w3tc_group ) {
    				$cache = $this->_get_cache( $w3tc_group );
    				$cache->flush( $w3tc_group );
    			}