WP_HTML_Tag_Processor::skip_whitespace()
Move the internal cursor past any immediate successive whitespace.
Method of the class: WP_HTML_Tag_Processor{}
No Hooks.
Return
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->skip_whitespace(): void;
Changelog
Since 6.2.0 | Introduced. |
WP_HTML_Tag_Processor::skip_whitespace() WP HTML Tag Processor::skip whitespace code WP 6.7.1
private function skip_whitespace(): void { $this->bytes_already_parsed += strspn( $this->html, " \t\f\r\n", $this->bytes_already_parsed ); }