File: wp-includes/formatting.php
-
function_make_url_clickable_cb()
Callback to convert URI match to HTML A element.
-
function_make_web_ftp_clickable_cb()
Callback to convert URL match to HTML A element.
-
function_make_email_clickable_cb()
Callback to convert email address match to HTML A element.
-
functionmake_clickable()
Converts plaintext URI to HTML links.
-
function_split_str_by_whitespace()
Breaks a string into chunks by splitting at whitespace characters.
-
functionwp_rel_nofollow()
Adds `rel=”nofollow”` string to all HTML A elements in content.
-
functionwp_rel_nofollow_callback()
Callback to add `rel=”nofollow”` string to HTML A element.
-
Filters the list of characters to remove from a filename.
-
hookformat_to_edit
Filters the text to be formatted for editing.
-
Filters a sanitized filename string.
-
functionzeroise()
Add leading zeros when necessary.
-
functionsanitize_user()
Sanitizes a username, stripping out unsafe characters.
-
hooksanitize_user
Filters a sanitized username string.
-
functionsanitize_key()
Sanitizes a string key.
-
hooksanitize_key
Filters a sanitized key string.
-
functionsanitize_title()
Sanitizes a string into a slug, which can be used in URLs or HTML attributes.
-
hooksanitize_title
Filters a sanitized title string.
-
functionsanitize_title_for_query()
Sanitizes a title with the ‘query’ context.
-
functionsanitize_title_with_dashes()
Sanitizes a title, replacing whitespace and a few other characters with dashes.
-
functionsanitize_sql_orderby()
Ensures a string is a valid SQL ‘order by’ clause.
-
functionsanitize_html_class()
Sanitizes an HTML classname to ensure it only contains valid characters.
-
Filters a sanitized HTML class string.
-
functionconvert_chars()
Converts lone & characters into `&` (a.k.a. `&`)
-
functionbalanceTags()
Balances tags if forced to, or if the ‘use_balanceTags’ option is set to true.
-
functionsanitize_file_name()
Sanitizes a filename, replacing whitespace with dashes.
-
functionformat_to_edit()
Acts on text which is about to be edited.
-
functionwptexturize()
Replaces common plain text characters with formatted entities.
-
Filters the list of HTML elements not to texturize.
-
Filters the list of shortcodes not to texturize.
-
function_wptexturize_pushpop_element()
Searches for disabled element tags. Pushes element to stack on tag open and pops on tag close.