這個外掛並未在最新的 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.

使用者評論

2016 年 9 月 3 日 1 則留言
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!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈PCo Kint〉的開發相關工作。

參與者

將〈PCo Kint〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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