WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / Functions / Page 49

sanitize_category()

Function: Sanitizes category data based on context.

Source: wp-includes/category.php:250

Used by 0 functions | Uses 1 function

sanitize_category_field()

Function: Sanitizes data in single category key field.

Source: wp-includes/category.php:265

Used by 0 functions | Uses 1 function

sanitize_comment_cookies()

Function: Sanitizes the cookies sent to the user already.

Source: wp-includes/comment.php:577

Used by 0 functions | Uses 6 functions

sanitize_email()

Function: Strips out all characters that are not allowable in an email.

Source: wp-includes/formatting.php:3500

Used by 4 functions | Uses 2 functions

sanitize_file_name()

Function: Sanitizes a filename, replacing whitespace with dashes.

Source: wp-includes/formatting.php:1998

Used by 3 functions | Uses 6 functions

sanitize_hex_color()

Function: Sanitizes a hex color.

Source: wp-includes/formatting.php:5780

Used by 1 function | Uses 0 functions

sanitize_hex_color_no_hash()

Function: Sanitizes a hex color without a hash. Use sanitize_hex_color() when possible.

Source: wp-includes/formatting.php:5805

Used by 2 functions | Uses 1 function

sanitize_html_class()

Function: Sanitizes an HTML classname to ensure it only contains valid characters.

Source: wp-includes/formatting.php:2324

Used by 15 functions | Uses 3 functions

sanitize_key()

Function: Sanitizes a string key.

Source: wp-includes/formatting.php:2124

Used by 55 functions | Uses 2 functions

sanitize_meta()

Function: Sanitize meta value.

Source: wp-includes/meta.php:1059

Used by 4 functions | Uses 4 functions

sanitize_mime_type()

Function: Sanitize a mime type

Source: wp-includes/formatting.php:5248

Used by 0 functions | Uses 2 functions

sanitize_option()

Function: Sanitises various option values based on the nature of the option.

Source: wp-includes/formatting.php:4451

Used by 7 functions | Uses 17 functions

sanitize_post()

Function: Sanitize every post field.

Source: wp-includes/post.php:2225

Used by 7 functions | Uses 1 function

sanitize_post_field()

Function: Sanitize post field based on context.

Source: wp-includes/post.php:2271

Used by 5 functions | Uses 11 functions

sanitize_sql_orderby()

Function: Ensures a string is a valid SQL ‘order by’ clause.

Source: wp-includes/formatting.php:2302

Used by 0 functions | Uses 0 functions

sanitize_term()

Function: Sanitize Term all fields.

Source: wp-includes/taxonomy.php:1467

Used by 9 functions | Uses 1 function

sanitize_term_field()

Function: Cleanse the field value in the term based on the context.

Source: wp-includes/taxonomy.php:1518

Used by 8 functions | Uses 13 functions

sanitize_textarea_field()

Function: Sanitizes a multiline string from user input or from the database.

Source: wp-includes/formatting.php:5133

Used by 0 functions | Uses 3 functions

sanitize_text_field()

Function: Sanitizes a string from user input or from the database.

Source: wp-includes/formatting.php:5105

Used by 34 functions | Uses 3 functions

sanitize_title()

Function: Sanitizes a title, or returns a fallback title.

Source: wp-includes/formatting.php:2154

Used by 38 functions | Uses 3 functions

sanitize_title_for_query()

Function: Sanitizes a title with the ‘query’ context.

Source: wp-includes/formatting.php:2189

Used by 1 function | Uses 1 function

sanitize_title_with_dashes()

Function: Sanitizes a title, replacing whitespace and a few other characters with dashes.

Source: wp-includes/formatting.php:2206

Used by 4 functions | Uses 2 functions

sanitize_trackback_urls()

Function: Sanitize space or carriage return separated URLs that are used to send trackbacks.

Source: wp-includes/formatting.php:5269

Used by 2 functions | Uses 2 functions

sanitize_url()

Function: Performs esc_url() for database or redirect usage.

Source: wp-includes/deprecated.php:2012

Used by 0 functions | Uses 2 functions

sanitize_user()

Function: Sanitizes a username, stripping out unsafe characters.

Source: wp-includes/formatting.php:2085

Used by 11 functions | Uses 4 functions

sanitize_user_field()

Function: Sanitize user field based on context.

Source: wp-includes/user.php:1238

Used by 2 functions | Uses 11 functions

sanitize_user_object()

Function: Sanitize every user field.

Source: wp-includes/deprecated.php:2632

Used by 0 functions | Uses 2 functions

saveDomDocument()

Function: Saves the XML document into a file

Source: wp-admin/includes/misc.php:834

Used by 2 functions | Uses 0 functions

save_mod_rewrite_rules()

Function: Updates the htaccess file with the current rules if it is writable.

Source: wp-admin/includes/misc.php:203

Used by 1 function | Uses 6 functions

screen_icon()

Function: Displays a screen icon.

Source: wp-admin/includes/deprecated.php:1225

Used by 0 functions | Uses 2 functions
« Previous 1 … 48 49
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register