WP_HTML_Text_Replacement::__construct() – Constructor.
You appear to be a bot. Output may be restricted
Description
Constructor.
Usage
WP_HTML_Text_Replacement::__construct( $start, $end, $text );
Parameters
- $start
- ( int ) required – Byte offset into document where replacement span begins.
- $end
- ( int ) required – Byte offset into document where replacement span ends.
- $text
- ( string ) required – Span of text to insert in document to replace existing content from start to end.
Returns
void
Source
File name: wordpress/wp-includes/html-api/class-wp-html-text-replacement.php
Lines:
1 to 5 of 5
public function __construct( $start, $end, $text ) { $this->start = $start; $this->end = $end; $this->text = $text; }