Skip to content

Instantly share code, notes, and snippets.

@gdarko
Created February 3, 2023 16:55
Show Gist options
  • Save gdarko/7220fbaf73b8f13b8365c22d8f8eb2d4 to your computer and use it in GitHub Desktop.
Save gdarko/7220fbaf73b8f13b8365c22d8f8eb2d4 to your computer and use it in GitHub Desktop.
Enable debug log in WordPress
<?php
// Something else...
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', true );
// something else...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment