Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 485 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 485 Bytes

WP-CLI Salt Command

================

Output salts to STDOUT

wp salts generate

This will grab new salts from the WordPress Salt API and output it to the STDOUT

Output salts to a file

wp salts generate --file=/absolute/path/to/file.php

This will output the salts to a file. Because the file contains the complete define() code the salts will be set by a simple require somewhere in your wp-config.php