wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-global-styles.php
/**
	 * Get list of used Global Styles in a post
	 *
	 * @param int $post_id
	 * @return array list of global styles
	 */
Get list of used Global Styles in a post
@param int $post_id
@return array list of global styles
Get list of used Global Styles in a post @param int $post_id @return array list of global styles
public static function used_global_styles( $post_id ) {
		$usedGlobalStyles = get_post_meta( $post_id, 'themify_used_global_styles', true );
		$globalStyles = array();
		if (!empty( $usedGlobalStyles ) && is_array( $usedGlobalStyles ) ) {
			$args = array(
				'limit' => -1,
				'post_names' => $usedGlobalStyles,
				'data' => true
			);
			$globalStyles = self::get_global_styles( $args );
		}
		return $globalStyles;
	}
public static function used_global_styles ( $ post_id ) { $ usedGlobalStyles = get_post_meta ( $ post_id , 'themify_used_global_styles' , true ) ; $ globalStyles = array ( ) ; if ( ! empty ( $ usedGlobalStyles ) && is_array ( $ usedGlobalStyles ) ) { $ args = array ( 'limit' => - 1 , 'post_names' => $ usedGlobalStyles , 'data' => true ) ; $ globalStyles = self :: get_global_styles ( $ args ) ; } return $ globalStyles ; }
Get list of used Global Styles in a post
 @param int $post_id
 @return array list of global styles
Get list of used Global Styles in a post @param int $post_id @return array list of global styles