salt

salt

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('salt') is found 2 times:

  • /wp-includes/pluggable.php line 2477
    2473
    2474
    2475
    2476
    2477
    2478
    2479
    2480
    2481
    2482
         * @param string $cached_salt Cached salt for the given scheme.
         * @param string $scheme      Authentication scheme. Values include 'auth',
         *                            'secure_auth', 'logged_in', and 'nonce'.
         */
        return apply_filters( 'salt', $cached_salts[ $scheme ], $scheme );
    }
     
    static $duplicated_keys;
    if ( null === $duplicated_keys ) {
        $duplicated_keys = array();
  • /wp-includes/pluggable.php line 2577
    2574
    2575
    2576
    2577
    2578
    2579
    2580
    2581
    2582
    2583
            $cached_salts[ $scheme ] = $values['key'] . $values['salt'];
     
            /** This filter is documented in wp-includes/pluggable.php */
            return apply_filters( 'salt', $cached_salts[ $scheme ], $scheme );
        }
    endif;
     
    if ( ! function_exists( 'wp_hash' ) ) :
        /**
         * Gets hash of given string.

See this hook used in plugins: