w3tc_pagecache_flush_all_groups

w3tc_pagecache_flush_all_groups

Hook Type: filter
See hook in action

See hook in core

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

apply_filters('w3tc_pagecache_flush_all_groups') 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 $group ) {
    				$cache = $this->_get_cache( $group );
    				$cache->flush( $group );
    			}
    
    

See this hook used in plugins: