این افزونه با آخرین 3 نسخه اصلی وردپرس تست نشده است. ممکن است دیگر نگهداری یا پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری داشته باشد.

Debug Bar Custom Info

توضیحات

This plugin adds an extra panel to Debug Bar plugin that allows developers to output custom debug info.

Developers can log any variable to see its value when running PHP in WordPress. This helps developers see the real-time values of variables. It works exactly like console.log() in browsers.

How to add custom debug info

Add the following code wherever you want to debug a variable:

do_action( 'add_debug_info', $var, $label );

where $var can has any data type.

  • If $var is a string or any simple value, the value is outputted directly.
  • If $var is an array or object, the output is the same as print_r( $var ).

And $label is the description label (optional).

How to view debug info

  • Click on Debug Bar in the top right of the admin bar
  • Select Custom Info panel (see screenshots)

Project Homepage | Report Bugs | Donate

عکس‌های صفحه

  • Custom Info Panel

نصب

  1. Unzip the download package
  2. Upload debug-bar-custom-info to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Debug Bar Custom Info” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Debug Bar Custom Info” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

1.0.2

  • Add 2nd param “label” to do_action

1.0.1

  • Use do_action to prevent fatal error when plugin files is not loaded

1.0

  • First release