W3cubDocs

/WordPress

apply_filters( 'sanitize_key', string $key, string $raw_key )

Filters a sanitized key string.

Parameters

$key

(string) Sanitized key.

$raw_key

(string) The key prior to sanitization.

Source

File: wp-includes/formatting.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_key