wordpress/wp-content/themes/basic/themify/themify-utils.php
/**
 * Get breakpoints settings
 * if it's framework return customizer breakpoints,else if it's builder plugin builder breakpoints
 * @since 3.0.0
 * @return mixed array/int
 */
Get breakpoints settings
if it's framework return customizer breakpoints,else if it's builder plugin builder breakpoints
@since 3.0.0
@return mixed array/int
Get breakpoints settings if it ' s framework return customizer breakpoints else if it ' s builder plugin builder breakpoints @since 3 . 0 . 0 @return mixed array / int
function themify_get_breakpoints( $select = 'all',$max_min=false ) {
	static $res = array();
	if(($select==='all' && empty($res)) || (empty($res[$select]))){
		$breakpoints = array(
				'tablet_landscape' => array(769,1280),
				'tablet' => array(681,768),  
				'mobile' => 680
		);
		if($max_min===true){
			return $breakpoints;
		}
		foreach( $breakpoints as $bp => $value ) {
				$v = themify_builder_get('setting-customizer_responsive_design_' . $bp,'builder_responsive_design_' . $bp );
				if ( '' != $v ) {
						if(is_array($value)){
							$res[ $bp ] = array();
							$res[ $bp ][0] = $value[0];
							$res[ $bp ][1] = (int)$v;
						}
						else{
							$res[ $bp ] = (int)$v;
						}
				} else {
						$res[ $bp ] = $value;
				}
		}
		$res[ 'tablet' ][0]=$res[ 'mobile' ]+1;
		$res[ 'tablet_landscape' ][0]=$res[ 'tablet' ][1]+1;
	}
	return 'all' === $select?$res:$res[ $select ];
}
function themify_get_breakpoints ( $ select = 'all' , $ max_min = false ) { static $ res = array ( ) ; if ( ( $ select === 'all' && empty ( $ res ) ) || ( empty ( $ res [ $ select ] ) ) ) { $ breakpoints = array ( 'tablet_landscape' => array ( 769 , 1280 ) , 'tablet' => array ( 681 , 768 ) , 'mobile' => 680 ) ; if ( $ max_min === true ) { return $ breakpoints ; } foreach ( $ breakpoints as $ bp => $ value ) { $ v = themify_builder_get ( 'setting-customizer_responsive_design_' . $ bp , 'builder_responsive_design_' . $ bp ) ; if ( '' != $ v ) { if ( is_array ( $ value ) ) { $ res [ $ bp ] = array ( ) ; $ res [ $ bp ] [ 0 ] = $ value [ 0 ] ; $ res [ $ bp ] [ 1 ] = ( int ) $ v ; } else { $ res [ $ bp ] = ( int ) $ v ; } } else { $ res [ $ bp ] = $ value ; } } $ res [ 'tablet' ] [ 0 ] = $ res [ 'mobile' ] + 1 ; $ res [ 'tablet_landscape' ] [ 0 ] = $ res [ 'tablet' ] [ 1 ] + 1 ; } return 'all' === $ select ? $ res : $ res [ $ select ] ; }
Get breakpoints settings
 if it's framework return customizer breakpoints,else if it's builder plugin builder breakpoints
 @since 3.0.0
 @return mixed array/int
Get breakpoints settings if it ' s framework return customizer breakpoints else if it ' s builder plugin builder breakpoints @since 3 . 0 . 0 @return mixed array / int