On this page
apply_filters( 'salt', string $cached_salt, string $scheme )
Filters the WordPress salt.
Parameters
$cached_saltstring-
Cached salt for the given scheme.
$schemestring-
Authentication scheme. Values include
'auth','secure_auth','logged_in', and'nonce'.
Source
File: wp-includes/pluggable.php. View all references
return apply_filters( 'salt', $cached_salts[ $scheme ], $scheme );
Related
Used By
| Used By | Description |
|---|---|
| wp_salt() wp-includes/pluggable.php | Returns a salt to add to hashes. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/salt