描述
PCo-Kint is a simple WordPress plugin wrapper for kint, a pretty replacement for var_dump(), print_r() and debug_backtrace(). Kint is also a great replacement to Krumo!
Simply use the d()
function to output your objects or arrays, or use ddd()
if you want to terminate the current script.
A great alternative to echo'<pre>';var_dump($var);die;
!
A full list of features can be found on the project page:
http://raveren.github.io/kint/
Contribute to this project on github or find all of our favorite and custom made plugins
螢幕截圖
安裝
- Add the plugin by either downloading the folder and uploading it to the wp-content/plugins directory or install it from the Control Panel using Plugins->Add New.
- Activate PCo Kint from the Plugins menu using Plugins->Installed Plugins.
- Use
d( array() )
to ensure that the plugin is working.
評價
2016年9月3日
1 reply
Thank you for great work! I wanted to develop something like that, but you were ahead. I like your plugin and all my colleagues use it after my advice. They like it too!
貢獻者及開發者
修改日誌
https://github.com/raveren/kint/releases