wordpress/wp-content/themes/basic/themify/class-themify-cache.php
/**
     * Check if the file belong to themify(plugin, FW, theme and etc.)
     *
     * return boolean
    */
Check if the file belong to themify(plugin, FW, theme and etc.)
return boolean
Check if the file belong to themify ( plugin FW theme and etc . ) return boolean
public static function is_themify_file( $file, $handler ) {
        if ( strpos( $handler, 'themify_cache_' ) !== false || strpos( $file, 'maps.google.com' ) !== false ) {
			return false;
		}
		if (
			strpos( $handler, 'themify' ) !== false
			|| strpos( $handler, 'builder-' ) === 0
			|| strpos( $handler, 'tbp' ) === 0
			|| (defined('THEME_URI') && strpos( $file, THEME_URI ) !== false)
			|| preg_match( '/themify[\.-][^\/]*\.js/', $file ) 
		) {
			return true;
		}
		return false;
    }
public static function is_themify_file ( $ file , $ handler ) { if ( strpos ( $ handler , 'themify_cache_' ) !== false || strpos ( $ file , 'maps.google.com' ) !== false ) { return false ; } if ( strpos ( $ handler , 'themify' ) !== false || strpos ( $ handler , 'builder-' ) === 0 || strpos ( $ handler , 'tbp' ) === 0 || ( defined ( 'THEME_URI' ) && strpos ( $ file , THEME_URI ) !== false ) || preg_match ( '/themify[\.-][^\/]*\.js/' , $ file ) ) { return true ; } return false ; }
Check if the file belong to themify(plugin, FW, theme and etc.)
Check if the file belong to themify ( plugin FW theme and etc . )
// match "themify.*.js" or "themify-*.js"