wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-global-styles.php
/**
	 * Handle Ajax request for updating a global style
	 *
	 * @access static
	 */
Handle Ajax request for updating a global style
@access static
Handle Ajax request for updating a global style @access static
static function update_live() {
		if ( empty( $_POST['id'] ) || empty( $_POST['data'] ) ) {
			return false;
		}
		check_ajax_referer( 'tb_load_nonce', 'tb_load_nonce' );
		ThemifyBuilder_Data_Manager::save_data( $_POST['data'], $_POST['id'] );
		$response['status'] = 'success';
		wp_send_json( $response );
	}
static function update_live ( ) { if ( empty ( $ _POST [ 'id' ] ) || empty ( $ _POST [ 'data' ] ) ) { return false ; } check_ajax_referer ( 'tb_load_nonce' , 'tb_load_nonce' ) ; ThemifyBuilder_Data_Manager :: save_data ( $ _POST [ 'data' ] , $ _POST [ 'id' ] ) ; $ response [ 'status' ] = 'success' ; wp_send_json ( $ response ) ; }
Handle Ajax request for updating a global style
 @access static
Handle Ajax request for updating a global style @access static