wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-global-styles.php
/**
	 * Save used global styles as post meta or trigger global style update function if post type is GS
	 *
	 * @param Int $post_id
	 * @param string $builder_data
	 */
Save used global styles as post meta or trigger global style update function if post type is GS
@param Int $post_id
@param string $builder_data
Save used global styles as post meta or trigger global style update function if post type is GS @param Int $post_id @param string $builder_data
public static function save_used_global_styles( $builder_data, $post_id ) {
		if ( self::$post_type === get_post_type( $post_id ) ) {
			self::global_style_updated( $post_id );
		} else {
			$global_styles = self::find_in_text( $builder_data );	
			update_post_meta( $post_id, 'themify_used_global_styles', $global_styles );
		}
	}
public static function save_used_global_styles ( $ builder_data , $ post_id ) { if ( self :: $ post_type === get_post_type ( $ post_id ) ) { self :: global_style_updated ( $ post_id ) ; } else { $ global_styles = self :: find_in_text ( $ builder_data ) ; update_post_meta ( $ post_id , 'themify_used_global_styles' , $ global_styles ) ; } }
Save used global styles as post meta or trigger global style update function if post type is GS
 @param Int $post_id
 @param string $builder_data
Save used global styles as post meta or trigger global style update function if post type is GS @param Int $post_id @param string $builder_data
// Update all linked posts if current post type is Global Style