wordpress/wp-content/themes/basic/themify/class-themify-cache.php
/**
     * Check builder cache is disabled or builder is active or in admin
     *
     * return boolean
     */
Check builder cache is disabled or builder is active or in admin
return boolean
Check builder cache is disabled or builder is active or in admin return boolean
public static function is_builder_cache_activate() {
		if( is_null( self::$turnoff_cache ) ) {
			if( self::is_cache_activate() ) {
				self::$turnoff_cache = (is_user_logged_in() && current_user_can('manage_options')) || is_admin() || !self::check_builder_cache() ? true : false;
				self::$turnoff_cache = apply_filters( 'themify_builder_is_cache_active', self::$turnoff_cache );
			} else{
				self::$turnoff_cache  = true;
			}
		}
		return self::$turnoff_cache;
    }
public static function is_builder_cache_activate ( ) { if ( is_null ( self :: $ turnoff_cache ) ) { if ( self :: is_cache_activate ( ) ) { self :: $ turnoff_cache = ( is_user_logged_in ( ) && current_user_can ( 'manage_options' ) ) || is_admin ( ) || ! self :: check_builder_cache ( ) ? true : false ; self :: $ turnoff_cache = apply_filters ( 'themify_builder_is_cache_active' , self :: $ turnoff_cache ) ; } else { self :: $ turnoff_cache = true ; } } return self :: $ turnoff_cache ; }
Check builder cache is disabled or builder is active or in admin
 return boolean
Check builder cache is disabled or builder is active or in admin return boolean