Automattic\WooCommerce\EmailEditor\Engine\PersonalizationTags

HTML_Tag_Processor::flush_updatespublicWC 1.0

Flushes the deferred updates to the lexical updates.

Метод класса: HTML_Tag_Processor{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$HTML_Tag_Processor = new HTML_Tag_Processor();
$HTML_Tag_Processor->flush_updates(): void;

Код HTML_Tag_Processor::flush_updates() WC 11.1.0

public function flush_updates(): void {
	foreach ( $this->deferred_updates as $key => $update ) {
		$this->lexical_updates[] = $update;
		unset( $this->deferred_updates[ $key ] );
	}
}