File/wp-includes/formatting.php

Description
Functions
addslashes_gpc (line 607)
void addslashes_gpc ( $gpc)
  • $gpc
antispambot (line 634)
void antispambot ( $emailaddy, [ $mailto = 0])
  • $emailaddy
  • $mailto
backslashit (line 593)
void backslashit ( $string)
  • $string
balanceTags (line 451)
void balanceTags ( $text, [ $force = false])
  • $text
  • $force
clean_pre (line 54)
void clean_pre ( $matches)
  • $matches
clean_url (line 1149)
void clean_url ( $url, [ $protocols = null], [ $context = 'display'])
  • $url
  • $protocols
  • $context
convert_chars (line 387)
void convert_chars ( $content, [ $deprecated = ''])
  • $content
  • $deprecated
convert_smilies (line 712)
void convert_smilies ( $text)
  • $text
ent2ncr (line 867)
void ent2ncr ( $text)
  • $text
force_balance_tags (line 477)
void force_balance_tags ( $text)
  • $text
format_to_edit (line 576)
void format_to_edit ( $content, [ $richedit = false])
  • $content
  • $richedit
format_to_post (line 583)
void format_to_post ( $content)
  • $content
funky_javascript_fix (line 441)
void funky_javascript_fix ( $text)
  • $text
get_date_from_gmt (line 770)
void get_date_from_gmt ( $string)
  • $string
get_gmt_from_date (line 761)
void get_gmt_from_date ( $string)
  • $string
htmlentities2 (line 1183)
void htmlentities2 ( $myHTML)
  • $myHTML
human_time_diff (line 821)
void human_time_diff ( $from, [ $to = ''])
  • $from
  • $to
iso8601_timezone_to_offset (line 779)
void iso8601_timezone_to_offset ( $timezone)
  • $timezone
iso8601_to_datetime (line 793)
void iso8601_to_datetime ( $date_string, [ $timezone = USER])
  • $date_string
  • $timezone
is_email (line 734)
void is_email ( $user_email)
  • $user_email
js_escape (line 1190)
void js_escape ( $text)
  • $text
like_escape (line 1215)

Escapes text for SQL LIKE special characters % and _

  • return: text, safe for inclusion in LIKE query
string like_escape (string $text)
  • string $text: text the text to be escaped
make_clickable (line 685)
void make_clickable ( $ret)
  • $ret
popuplinks (line 809)
void popuplinks ( $text)
  • $text
remove_accents (line 183)
void remove_accents ( $string)
  • $string
sanitize_email (line 817)
void sanitize_email ( $email)
  • $email
sanitize_file_name (line 313)
void sanitize_file_name ( $name)
  • $name
sanitize_option (line 1223)
void sanitize_option ( $option,  $value)
  • $option
  • $value
sanitize_sql_orderby (line 380)
void sanitize_sql_orderby ( $orderby)
  • $orderby
sanitize_title (line 341)
void sanitize_title ( $title, [ $fallback_title = ''])
  • $title
  • $fallback_title
sanitize_title_with_dashes (line 351)
void sanitize_title_with_dashes ( $title)
  • $title
sanitize_url (line 1177)
void sanitize_url ( $url, [ $protocols = null])
  • $url
  • $protocols
sanitize_user (line 324)
void sanitize_user ( $username, [ $strict = false])
  • $username
  • $strict
seems_utf8 (line 106)
void seems_utf8 ( $Str)
  • $Str
stripslashes_deep (line 618)
void stripslashes_deep ( $value)
  • $value
tag_escape (line 1204)
void tag_escape ( $tag_name)
  • $tag_name
trailingslashit (line 599)
void trailingslashit ( $string)
  • $string
untrailingslashit (line 603)
void untrailingslashit ( $string)
  • $string
urlencode_deep (line 626)
void urlencode_deep ( $value)
  • $value
utf8_uri_encode (line 142)
void utf8_uri_encode ( $utf8_string, [ $length = 0])
  • $utf8_string
  • $length
wpautop (line 67)
void wpautop ( $pee, [ $br = 1])
  • $pee
  • $br
wptexturize (line 3)
void wptexturize ( $text)
  • $text
wp_htmledit_pre (line 1142)
void wp_htmledit_pre ( $output)
  • $output
wp_html_excerpt (line 1418)

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.

void wp_html_excerpt (integer $str, integer $count)
  • integer $str: String to get the excerpt from
  • integer $count: Maximum number of characters to take
wp_iso_descrambler (line 748)
void wp_iso_descrambler ( $string)
  • $string
wp_make_link_relative (line 1219)
void wp_make_link_relative ( $link)
  • $link
wp_parse_str (line 1297)
void wp_parse_str ( $string,  &$array)
  • $string
  • &$array
wp_pre_kses_less_than (line 1305)
void wp_pre_kses_less_than ( $text)
  • $text
wp_pre_kses_less_than_callback (line 1309)
void wp_pre_kses_less_than_callback ( $matches)
  • $matches
wp_rel_nofollow (line 697)
void wp_rel_nofollow ( $text)
  • $text
wp_rel_nofollow_callback (line 706)
void wp_rel_nofollow_callback ( $matches)
  • $matches
wp_richedit_pre (line 1131)
void wp_richedit_pre ( $text)
  • $text
wp_specialchars (line 124)
void wp_specialchars ( $text, [ $quotes = 0])
  • $text
  • $quotes
wp_sprintf (line 1318)

wp_sprintf() - sprintf() with filters

void wp_sprintf ( $pattern)
  • $pattern
wp_sprintf_l (line 1377)

wp_sprintf_l - List specifier %l for wp_sprintf

unknown wp_sprintf_l (unknown_type $pattern, unknown_type $args)
  • unknown_type $pattern
  • unknown_type $args
wp_trim_excerpt (line 847)
void wp_trim_excerpt ( $text)
  • $text
zeroise (line 588)
void zeroise ( $number,  $threshold)
  • $number
  • $threshold
_make_email_clickable_cb (line 680)
void _make_email_clickable_cb ( $matches)
  • $matches
_make_url_clickable_cb (line 651)
void _make_url_clickable_cb ( $matches)
  • $matches
_make_web_ftp_clickable_cb (line 665)
void _make_web_ftp_clickable_cb ( $matches)
  • $matches

Documentation generated on Fri, 12 Sep 2008 21:09:06 -0400 by phpDocumentor 1.4.1