diff --git a/src/wp-includes/html-api/class-wp-html-processor.php b/src/wp-includes/html-api/class-wp-html-processor.php index 1828123ff879d..7f511cdb1906e 100644 --- a/src/wp-includes/html-api/class-wp-html-processor.php +++ b/src/wp-includes/html-api/class-wp-html-processor.php @@ -997,10 +997,14 @@ public function expects_closer( ?WP_HTML_Token $node = null ): ?bool { } /** - * Steps through the HTML document and stop at the next tag, if any. + * For internal usage. Use {@see WP_HTML_Processor::next_tag()} or {@see WP_HTML_Processor::next_token()}. + * + * Steps through the HTML document and stop at the next node, if any. * * @since 6.4.0 * + * @access private + * * @throws Exception When unable to allocate a bookmark for the next token in the input HTML document. * * @see self::PROCESS_NEXT_NODE