sanitize_key


sanitize_key ( $key )

Parameters:
  • (string) key String key.
Returns:
  • (string) Sanitized key.
Defined at:

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

wpseek mobile