• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Developer Resources

Skip to content
Search Results: Home / Reference / sanitize_text_field
4 results found for "sanitize_text_field". Showing results 1 to 4.
Filter by type:

sanitize_text_field()

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

Source: wp-includes/formatting.php:5413

Used by 42 functions | Uses 3 functions

sanitize_text_field

Filter Hook: Filters a sanitized text field string.

Source: wp-includes/formatting.php:5424

Used by 1 function | Uses 0 functions

_sanitize_text_fields()

Function: Internal helper function to sanitize a string from user input or from the database.

Source: wp-includes/formatting.php:5465

Used by 2 functions | Uses 3 functions

sanitize_textarea_field()

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

Source: wp-includes/formatting.php:5441

Used by 1 function | Uses 3 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry