Archive | /wp-includes/formatting.php RSS feed for this section

wp_html_excerpt

Safely extracts not more than the first $count characters from html string.UTF-8, tags and entities safe prefix extraction. Entities inside will *NOT* be counted as one character. For example & will be counted as 4, < as 3, etc.

3767

Continue reading

wp_htmledit_pre

Formats text for the HTML editor.Unless $output is empty it will pass through htmlspecialchars before the ‘htmledit_pre’ filter is applied.

3765

Continue reading

wpautop

Replaces double line-breaks with paragraph elements.A group of regex replaces used to identify text formatted with newlines and replace double line-breaks with HTML paragraph tags. The remaining line-breaks after conversion become
tags, unless $br is set to ‘0’ or ‘false’.

3365

Continue reading