If you have developed using Laravel, you know how usefule the dd() function is. It simply allows you to display the content of any given variable in your browser, and to navigate through it by clicking on each item.
I find this super useful when I am creating new features, and this was definitely missing in WordPress, so I created a plugin that is doing this for you.
It’s here : https://github.com/GoohegWeb/wp-dd-debug
- download https://github.com/GoohegWeb/wp-dd-debug/archive/master.zip
- upload the ZIP to your WordPress install and activated it
- anywhere in your code, write dd($value) to output your code