這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

描述

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