A WordPress-centric search engine for devs and theme authors



sanitize_key ›

Since3.0.0
Deprecatedn/a
apply_filters( 'sanitize_key', $key, $raw_key )
Parameters: (2)
  • (string) $key Sanitized key.
    Required: Yes
  • (string) $raw_key The key prior to sanitization.
    Required: Yes
Defined at:
Codex:

Filters a sanitized key string.





Source

return apply_filters( 'sanitize_key', $key, $raw_key );