MailPoet\EmailEditor\Engine\PersonalizationTags

HTML_Tag_Processor::flush_updates()publicWC 1.0

Flushes the deferred updates to the lexical updates.

Method of the class: HTML_Tag_Processor{}

No Hooks.

Return

null. Nothing (null).

Usage

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

HTML_Tag_Processor::flush_updates() code WC 9.8.1

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