The following PHP constants can be defined in your
wp-config.php file in order to control the behaviour of Query Monitor:
Enable dark mode for Query Monitor’s interface.
If an individual database query takes longer than this time to execute, it’s considered “slow” and triggers a warning.
Disable Query Monitor entirely.
Disable the handling of PHP errors.
Enable the Capability Checks panel.
Hide WordPress core on the Hooks & Actions panel.
Hide Query Monitor itself from various panels. Set to false if you want to see how Query Monitor hooks into WordPress.
Don’t specify jQuery as a dependency of Query Monitor. If jQuery isn’t enqueued then Query Monitor will still operate, but with some reduced functionality.
In the Hooks & Actions panel, show every hook that has an action or filter attached (instead of every action hook that fired during the request).
Does Query Monitor help you debug your site without pulling your hair out?
If so, please consider sponsoring my work on Query Monitor ❤️. Thanks!