salt WordPress Filter Hook

The salt Wordpress hook is a powerful tool for customizing your Wordpress site. With it, you can add custom code to your site without having to edit any of your theme files. This hook is especially useful for adding custom functions to your site, such as customizing the way your posts are displayed.

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'.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More