edd_sanitize_key( string $key )
Sanitizes a string key for EDD Settings
Description Description
Keys are used as internal identifiers. Alphanumeric characters, dashes, underscores, stops, colons and slashes are allowed
Parameters Parameters
- $key
-
(Required) String key
Return Return
(string) Sanitized key
Source Source
File: includes/formatting.php
Changelog Changelog
Version | Description |
---|---|
2.5.8 | Introduced. |