Inserts text before the current token.
Parameters
$textstringrequired- Text to insert.
Source
public function insert_before( string $text ) {
$this->lexical_updates[] = new WP_HTML_Text_Replacement( $this->get_span()->start, 0, $text );
}
Inserts text before the current token.
$textstringrequiredpublic function insert_before( string $text ) {
$this->lexical_updates[] = new WP_HTML_Text_Replacement( $this->get_span()->start, 0, $text );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.