wordpress/wp-content/themes/basic/themify/themify-admin.php
/**
 * Checks if there is styling data or custom CSS.
 *
 * 1.9.1 Removed cached option because it might be misleading on certain situations.
 *		 Refactored to exit as soon as possible and minimize execution time and memory usage.
 *
 * @since 1.8.2
 *
 * @return bool
 */
Checks if there is styling data or custom CSS.
1.9.1 Removed cached option because it might be misleading on certain situations.
Refactored to exit as soon as possible and minimize execution time and memory usage.



@return bool
Checks if there is styling data or custom CSS . 1 . 9 . 1 Removed cached option because it might be misleading on certain situations . Refactored to exit as soon as possible and minimize execution time and memory usage . @return bool
function themify_has_styling_data() {
	$has_styling = apply_filters( 'themify_show_styling_panel', null );
	if ($has_styling!==null) {
		return $has_styling;
	}
	$themify_data = themify_get_data();
	if ( ! empty( $themify_data['setting-custom_css'] ) ) {
		return true;
	}
	foreach ( $themify_data as $key => $val ) {
		if ( false !== stripos( $key, 'styling-' ) ) {
			$val = trim($val);
			if ( ! empty( $val ) ) {
				return true;
			}
		}
	}
	return false;
}
function themify_has_styling_data ( ) { $ has_styling = apply_filters ( 'themify_show_styling_panel' , null ) ; if ( $ has_styling !== null ) { return $ has_styling ; } $ themify_data = themify_get_data ( ) ; if ( ! empty ( $ themify_data [ 'setting-custom_css' ] ) ) { return true ; } foreach ( $ themify_data as $ key => $ val ) { if ( false !== stripos ( $ key , 'styling-' ) ) { $ val = trim ( $ val ) ; if ( ! empty ( $ val ) ) { return true ; } } } return false ; }
Checks if there is styling data or custom CSS.
Checks if there is styling data or custom CSS .
/* bypass the styling check */ /**
	 * @var array $themify_data Themify theme settings and styling.
	 */ // Check Custom CSS // Check styling data