Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
check debug output in wordpress with a get variable
// brought to you by Liam Bailey
// That way if I want to see the output I just add ?dbg_smrand to the url and presto
define('wp_debug', true);
define('wp_debug_log', true);
define('wp_debug_display, isset($_GET['dbg_smrand']));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.