Skip to content

Configuration & Constants

Daniel M. Hendricks edited this page Aug 13, 2017 · 8 revisions

The following constants are available for you to define in wp-config.php:

WP_ENCRYPT_KEY

The Utils::encrypt() and Utils::decrypt() helpers use the SECURE_AUTH_KEY in wp-config.pgp by default. You may specify an alternate salt by defining:

define( 'WP_ENCRYPT_KEY', 'random_string' );

If you need a random string, visit the salt page or throw an MD5 in there.

Clone this wiki locally