Created
August 30, 2018 07:55
-
-
Save AndreKelling/5073a78c49fe2507bee8ff85a5447784 to your computer and use it in GitHub Desktop.
wp dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add in local config for fine debug display. | |
// use like php var_dump($var) >> wp_dump($var) | |
define( 'WP_DEBUG', true ); | |
function wp_dump($variable,$die=false){ | |
echo '<pre>'.print_r($variable, true).'</pre>'; | |
if($die) die(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment