Plugin info

Total downloads: 2,827
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 4
Last updated: 7/1/2014 (4201 days ago)
Added to WordPress: 6/13/2014 (11 years old)
Minimum WordPress version: 3.8
Tested up to WordPress version: 3.9.40
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4201 days ago • 1 reviews

22/100

Is Debug Bar Custom Info abandoned?

Possibly abandoned (last update 4201 days ago).

Compatibility

Requires WordPress: 3.8
Tested up to: 3.9.40
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Crontrol
Rating 4.5/5 (160 reviews)Active installs 300,000
Query Monitor – The developer tools panel for WordPress
Rating 4.9/5 (461 reviews)Active installs 200,000
Debug Bar
Rating 4.1/5 (68 reviews)Active installs 20,000
Debug Log Manager – Conveniently Monitor and Inspect Errors
Rating 5.0/5 (23 reviews)Active installs 10,000
WP Debugging
Rating 5.0/5 (19 reviews)Active installs 10,000

Description

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

Installation

  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

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Custom Info Panel

    Custom Info Panel

Changelog

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