π WP Config Settings
WC Studio gives you developer-level control over key WordPress constants β allowing you to enable or disable debugging, script behaviors, query logs, and core update settings without touchingwp-config.php
.
π Go to: WC Studio β Stores β Select a Store β Advanced β WP Config
βοΈ Available Config Options
Each setting includes a description and toggle. Use these features responsibly β many are intended for development and debugging only.π Enable Debug Mode (WP_DEBUG
)
- Enables the display of PHP errors and warnings across your site.
- Useful during development to catch code issues.
- π΄ Recommended: OFF on live sites.
πͺ΅ Log Errors
- Stores error logs in a file for easier debugging.
- Allows you to investigate issues without showing them to visitors.
β οΈ Display PHP Errors (WP_DEBUG_DISPLAY
)
- Displays PHP errors directly on the frontend.
- π΄ Recommended: OFF unless youβre actively debugging.
π§ͺ Enable Script Debug
- Forces WordPress to use unminified core JS and CSS files.
- Helps developers diagnose issues in core scripts.
- π΄ Should be disabled in production environments.
π« Disable JavaScript Concatenation
- Prevents WordPress from combining JS files in the admin panel.
- Useful for debugging issues caused by script conflicts or minification.
- π΄ Leave disabled unless youβre troubleshooting.
π Enable Save Queries (SAVEQUERIES
)
- Logs all database queries to help you analyze performance.
- May slow down your site if left on.
- π‘ Use temporarily in staging or dev environments.
π‘ Disable WordPress Core Updates
- Prevents automatic updates to WordPress core.
- Useful if youβre managing updates manually or running a heavily customized site.
β οΈ Note: Keep track of security patches if you disable auto-updates.
π‘ Pro Tips
- Always test these settings in a staging environment before applying them to live stores.
- Combine error logging with object cache for safe debugging workflows.
- Revert all debug-related settings to OFF before launching.