Title: Debug Bar Custom Info
Author: FitWP
Published: <strong>13.6.2014</strong>
Last modified: 1.7.2014

---

Hae lisäosia

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/debug-bar-custom-info.svg)

# Debug Bar Custom Info

 [FitWP](https://profiles.wordpress.org/fitwp/)

[Lataa](https://downloads.wordpress.org/plugin/debug-bar-custom-info.1.0.2.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/debug-bar-custom-info/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/debug-bar-custom-info/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/debug-bar-custom-info/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/debug-bar-custom-info/#developers)

 [Tuki](https://wordpress.org/support/plugin/debug-bar-custom-info/)

## Kuvaus

This plugin adds an extra panel to [Debug Bar](https://wordpress.org/plugins/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](https://wordpress.org/plugins/debug-bar-custom-info/screenshots/))

[Project Homepage](http://fitwp.com/plugins/debug-bar-custom-info/) | [Report Bugs](https://github.com/fitwp/debug-bar-custom-info/issues)
| [Donate](http://www.deluxeblogtips.com/donate/)

## Kuvankaappaukset

[⌊Custom Info Panel⌉⌊Custom Info Panel⌉[

Custom Info Panel

## Asennus

 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

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“Debug Bar Custom Info” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat 
osallistuneet tämän lisäosan kehittämiseen.

Avustajat

 *   [ FitWP ](https://profiles.wordpress.org/fitwp/)
 *   [ Anh Tran ](https://profiles.wordpress.org/rilwis/)

[Käännä “Debug Bar Custom Info” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/debug-bar-custom-info)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/debug-bar-custom-info/),
check out the [SVN repository](https://plugins.svn.wordpress.org/debug-bar-custom-info/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/debug-bar-custom-info/)
by [RSS](https://plugins.trac.wordpress.org/log/debug-bar-custom-info/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

#### 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

## Metatiedot

 *  Version **1.0.2**
 *  Last updated **12 vuotta sitten**
 *  Active installations **10+**
 *  WordPress version ** 3.8 or higher **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/debug-bar-custom-info/)
 * Tag
 * [debug](https://fi.wordpress.org/plugins/tags/debug/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/debug-bar-custom-info/advanced/)

## Arvosanat

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/debug-bar-custom-info/reviews/)

## Avustajat

 *   [ FitWP ](https://profiles.wordpress.org/fitwp/)
 *   [ Anh Tran ](https://profiles.wordpress.org/rilwis/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/debug-bar-custom-info/)

## Lahjoita

Haluatko tukea tämän lisäosan kehitystä?

 [ Tue tämän lisäosan tekijöitä ](http://www.deluxeblogtips.com/donate)