Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/kses.php / Page 2

wp_kses_check_attr_val()

Function: Performs different checks for attribute values.

Source: wp-includes/kses.php:1543

Used by 1 function | Uses 0 functions

wp_filter_kses()

Function: Sanitize content with allowed HTML KSES rules.

Source: wp-includes/kses.php:2031

Used by 0 functions | Uses 2 functions

wp_kses_bad_protocol()

Function: Sanitizes a string and removed disallowed URL protocols.

Source: wp-includes/kses.php:1654

Used by 6 functions | Uses 2 functions

wp_kses()

Function: Filters text content and strips out disallowed HTML.

Source: wp-includes/kses.php:713

Used by 24 functions | Uses 5 functions

wp_kses_allowed_html()

Function: Returns an array of allowed HTML tags and attributes for a given context.

Source: wp-includes/kses.php:813

Used by 5 functions | Uses 1 function

wp_kses_allowed_html

Filter Hook: Filters the HTML tags that are allowed for a given context.

Source: wp-includes/kses.php:833

Used by 1 function | Uses 0 functions

wp_kses_hook()

Function: You add any KSES hooks here.

Source: wp-includes/kses.php:898

Used by 1 function | Uses 1 function

pre_kses

Filter Hook: Filters content to be run through KSES.

Source: wp-includes/kses.php:910

Used by 1 function | Uses 0 functions

wp_kses_version()

Function: Returns the version number of KSES.

Source: wp-includes/kses.php:920

Used by 0 functions | Uses 0 functions

wp_kses_split()

Function: Searches for HTML tags, no matter how malformed.

Source: wp-includes/kses.php:942

Used by 1 function | Uses 0 functions
Previous 1 2
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • 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
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry