apply_filters( 'salt', string $cached_salt, string $scheme )

Filters the WordPress salt.

Parameters

$cached_salt

(string) Cached salt for the given scheme.

$scheme

(string) Authentication scheme. Values include 'auth', 'secure_auth', 'logged_in', and 'nonce'.

Source

File: wp-includes/pluggable.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

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