w3tc_dbcache_can_cache_sql

w3tc_dbcache_can_cache_sql

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('w3tc_dbcache_can_cache_sql') is found 1 times:

  • /DbCache_WpdbInjection_QueryCaching.php line 138
    			$flush_after_query = true;
    		}
    
    		if ( $this->use_filters && function_exists( 'apply_filters' ) ) {
    			$reject_reason = apply_filters( 'w3tc_dbcache_can_cache_sql',
    				( $caching ? '' : $reject_reason ), $query );
    
    			$caching = empty( $reject_reason );
    		}
    
    		if ( $caching ) {