MailPoet\EmailEditor\Engine\PersonalizationTags
HTML_Tag_Processor::flush_updates()
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() 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 ] ); } }