wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-global-styles.php
/**
	 * Updates all linked posts to a Global Style that has updated
	 * (Remove generated CSS files)
	 *
	 * @param Int $post_id
	 */
Updates all linked posts to a Global Style that has updated
(Remove generated CSS files)


Updates all linked posts to a Global Style that has updated ( Remove generated CSS files )
private static function global_style_updated( $post_id ) {
		$posts = self::get_linked_posts( $post_id );
		if ( !empty( $posts ) ) {
			$themify_css_dir = Themify_Builder_Stylesheet::get_stylesheet_dir();
			foreach ( $posts as $linked_post_id ) {
				$file = $themify_css_dir . '/themify-builder-' . $linked_post_id . '-generated.css';
				if (Themify_Filesystem::is_file($file)) {
					Themify_Filesystem::delete($file,'f');
				}
			}
		}
	}
private static function global_style_updated ( $ post_id ) { $ posts = self :: get_linked_posts ( $ post_id ) ; if ( ! empty ( $ posts ) ) { $ themify_css_dir = Themify_Builder_Stylesheet :: get_stylesheet_dir ( ) ; foreach ( $ posts as $ linked_post_id ) { $ file = $ themify_css_dir . '/themify-builder-' . $ linked_post_id . '-generated.css' ; if ( Themify_Filesystem :: is_file ( $ file ) ) { Themify_Filesystem :: delete ( $ file , 'f' ) ; } } } }
Updates all linked posts to a Global Style that has updated
 (Remove generated CSS files)
Updates all linked posts to a Global Style that has updated ( Remove generated CSS files )