wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_html_split › WordPress Function

Da4.2.4
Deprecaton/a
wp_html_split ( $input )
Parametri:
  • (string) $input The text which has to be formatted.
    Richiesto:
Ritorna:
  • (string[]) Array of the formatted text.
Definito a:
Codex:

Separates HTML elements and comments from the text.



Sorgenti

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