WP_HTML_Span::__construct( int $start, int $length )

In this article

Constructor.

Parameters

$startintrequired
Byte offset into document where replacement span begins.
$lengthintrequired
Byte length of span.

Source

public function __construct( int $start, int $length ) {
	$this->start  = $start;
	$this->length = $length;
}

Changelog

VersionDescription
6.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.