wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_html_split › WordPress Function

Depuis4.2.4
Dépréciéen/a
wp_html_split ( $input )
Paramètres:
  • (string) $input The text which has to be formatted.
    Requis: Oui
Retourne:
  • (string[]) Array of the formatted text.
Défini(e) dans:
Codex:

Separates HTML elements and comments from the text.



Source

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