WP_HTML_Span::__construct
Constructor.
Method of the class: WP_HTML_Span{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_HTML_Span = new WP_HTML_Span(); $WP_HTML_Span->__construct( $start, $length );
- $start(int) (required)
- Byte offset into document where replacement span begins.
- $length(int) (required)
- Byte length of span.
Changelog
| Since 6.2.0 | Introduced. |
WP_HTML_Span::__construct() WP HTML Span:: construct code WP 6.9.1
public function __construct( int $start, int $length ) {
$this->start = $start;
$this->length = $length;
}