wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_html_split › WordPress Function

Od4.2.4
Przestarzałyn/a
wp_html_split ( $input )
Parametry:
  • (string) $input The text which has to be formatted.
    Wymagane: Tak
Powrót:
  • (string[]) Array of the formatted text.
Zdefiniowane na:
Codex:

Separates HTML elements and comments from the text.



Źródło

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