wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_html_split › WordPress Function

Desde4.2.4
Obsoleton/a
wp_html_split ( $input )
Parâmetros:
  • (string) $input The text which has to be formatted.
    Required: Yes
Retorna:
  • (string[]) Array of the formatted text.
Definido em:
Codex:

Separates HTML elements and comments from the text.



Fonte

function wp_html_split( $input ) {
	return preg_split( get_html_split_regex(), $input, -1, PREG_SPLIT_DELIM_CAPTURE );
}