Skip to content
Debuggin WordPress using php-ref is pretty
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
php-ref @ 860bffa
.gitmodules
override.css
pretty-debug.php
readme.md
screenshot.jpg

readme.md

WordPress Pretty Debug

A WordPress plugin that makes var_dump and print_r pretty!

All the work was done by digitalnature I just wrapped it into a WordPress plugin.

Usage

  • use r instead of var_dump
  • use rt for text mode.

For example:

r($GLOBALS['wp_query']->get_posts());
rt($GLOBALS['wp_query']->get_posts());

More usage https://github.com/digitalnature/php-ref

Something went wrong with that request. Please try again.