Skip to content

Instantly share code, notes, and snippets.

@IlanVivanco
Last active June 8, 2021 14:24
Show Gist options
  • Save IlanVivanco/1776d063efc8c435314469e340dfeac0 to your computer and use it in GitHub Desktop.
Save IlanVivanco/1776d063efc8c435314469e340dfeac0 to your computer and use it in GitHub Desktop.
WP debug snippets
<?php
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
// Logs the nmae of the function
error_log( '>>> IN ' . __FUNCTION__ );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment