salt

salt

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('salt') is found 2 times:

  • /wp-includes/pluggable.php line 2477
    			 * @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(
    				'put your unique phrase here' => true,
    
  • /wp-includes/pluggable.php line 2577
     
    		$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: