Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save developer-anuragsingh/77465508e8da0804f86498b2fe576f7c to your computer and use it in GitHub Desktop.

Select an option

Save developer-anuragsingh/77465508e8da0804f86498b2fe576f7c to your computer and use it in GitHub Desktop.
Add in the very first line of your functions.php or header.php file
if ( isset( $_REQUEST['dev'] ) && 1 === intval( $_REQUEST['dev'] ) ) {
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
}
// How to Use = Add '?dev=1' in url string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment