Constants, query flags and WP-CLI
WP-CLI
Section titled “WP-CLI”Reign registers one command.
wp reign color-setup [--force]It runs the colour setup. It keeps your saved colours and sets the default colour scheme on a fresh site. It also restores any missing default values and refreshes the cached colour styles. The same routine runs when you activate the theme. It also runs when you select Run colour setup in the dashboard notice, or Re-run setup on Reign Settings > Tools. Those two buttons always force it.
The colour migration inside it runs once per site. Without --force it is skipped when it already ran. Add --force to run it again. When the command finishes, it prints the active colour scheme.
Success: Reign colour setup complete (forced). Active scheme: reign_cleanUse it on a staging or demo site that reuses an active theme, where activation never fires. Use it after restoring a database from another site too.
Constants
Section titled “Constants”Define these in wp-config.php, above the line that says to stop editing.
| Constant | Effect |
|---|---|
REIGN_NO_LICENSE_PHONE_HOME |
Set to true to stop Reign contacting the store in the background to check a licence key it carried over from an older updater. Use it on air-gapped or privacy-strict sites. Entering a key on Reign Settings > License still contacts the store, because that is the activation itself |
REIGN_LOAD_ALL_ASSETS |
Set to true to load every plugin integration’s styles and scripts on every page, the same as turning Load styles per page off. Use it to test whether a styling gap comes from page detection |
Query flag
Section titled “Query flag”Add ?load_all_assets to any front-end URL while logged in as an administrator. It loads every integration’s assets for that one request. It is a debugging aid. If the page looks right with the flag, Reign did not see that the page needed an integration’s styles. See
Smart Performance.
Filter equivalent
Section titled “Filter equivalent”The reign_bypass_conditional_assets filter does the same as the constant and
the query flag. See the hooks reference.

