sanitize_key

Sanitize a string key. Keys are used as internal identifiers.

Lowercase alphanumeric characters, dashes and underscores are allowed. Uppercase characters will be converted to lowercase. After sanitize_key() has done its work, it passes the sanitized key through the sanitize_key filter.

Input:
[?]

Have Feedback?

Let us know how we can improve this tool.
Share Feedback