Menu
wpseek
mobile
Search
sanitize_key
sanitize_key
(
$key
)
Parameters:
(string)
key
String key.
Returns:
(string) Sanitized key.
Defined at:
wp-includes/formatting.php
, line 2182
Introduced in WordPress:
3.0.0
Deprecated in WordPress:
—
Description
Sanitizes a string key.Keys are used as internal identifiers. Lowercase alphanumeric characters, dashes, and underscores are allowed.
Related Functions
sanitize_meta
,
sanitize_term
,
sanitize_user
,
sanitize_title
,
sanitize_email
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
4
_build_block_template_object_from_post_object
wp_autoload_values_to_autoload
wp_determine_option_autoload_value
wp_filter_default_autoload_value_via_option_size
My Bookmarks
- Soon -
About
Imprint
Privacy Policy