w3tc_cache_allowed_classes

w3tc_cache_allowed_classes

Hook Type: filter

See hook in core

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

apply_filters('w3tc_cache_allowed_classes') is found 1 times:

  • /Cache_Base.php line 467
    		 *
    		 * @param array $allowed Class names allowed during unserialize.
    		 * @param array $context Cache-area context with `module`, `group`, `key`.
    		 */
    		$allowed = apply_filters( 'w3tc_cache_allowed_classes', $defaults, $context );
    
    		if ( true === $allowed ) {
    			return true;
    		}
    
    		return is_array( $allowed ) ? $allowed : $defaults;