Core Function
View Source on Trac ↗ wp_html_split()
wp_html_split( mixed $input ) Separates HTML elements and comments from the text.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $input string | The text which has to be formatted. Required |
Return Value
(string[])
Array of the formatted text.
Function Information
Since Version
4.2.4
Source File
wp-includes/formatting.php
Advertisement