[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/html-api/ -> class-wp-html-text-replacement.php (summary)

HTML API: WP_HTML_Text_Replacement class

File Size: 64 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_HTML_Text_Replacement:: (1 method):
  __construct()


Class: WP_HTML_Text_Replacement  - X-Ref

Core class used by the HTML tag processor as a data structure for replacing
existing content from start to end, allowing to drastically improve performance.

This class is for internal usage of the WP_HTML_Tag_Processor class.

__construct( int $start, int $length, string $text )   X-Ref
Constructor.

param: int    $start  Byte offset into document where replacement span begins.
param: int    $length Byte length of span in document being replaced.
param: string $text   Span of text to insert in document to replace existing content from start to end.



Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref