Recent

Tag_Span_Processorclass

Tag_Span_Processor

Lets a caller wrap a tag in new markup, which the Tag Processor cannot do itself.

Namespace: WebberZone\Image_Optimizer\Frontend
Since: 1.2.1
Source: includes/frontend/class-tag-span-processor.php line 19 Extends: WP_HTML_Tag_Processor

Methods

get_tag_span()

Byte offset and length of the tag the processor is paused on.

Since: 1.2.1
Line: 28

public function get_tag_span(  ): ?array;

Returns: ?array — int, 1: int}|null Start and length, or null when not paused on a tag.