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 2170
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_email
,
sanitize_title
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
1
wp_render_empty_block_template_warning
My Bookmarks
- Soon -
About
Imprint
Privacy Policy