Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

PCo Kint

Описание

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

Скриншоты

  • A simple output of d( $_SERVER )
  • Some variable content types have an alternative display - for example you will be able see JSON in its raw form - but also as an associative array
  • CLI is detected and formatted for automatically, the output is colored too

Установка

  1. 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.
  2. Activate PCo Kint from the Plugins menu using Plugins->Installed Plugins.
  3. Use d( array() ) to ensure that the plugin is working.

Отзывы

Посмотреть 1 отзыв

Участники и разработчики

«PCo Kint» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «PCo Kint» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

https://github.com/raveren/kint/releases