Plugin Directory

Changeset 932629


Ignore:
Timestamp:
06/15/2014 02:15:34 PM (12 years ago)
Author:
fitwp
Message:

Update readme

Location:
debug-bar-custom-info
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • debug-bar-custom-info/tags/1.0.1/readme.txt

    r931851 r932629  
    66Tested up to: 3.9.1
    77Stable tag: 1.0.1
     8License: GPLv2 or later
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html
    810
    911This plugin adds an extra panel to Debug Bar plugin that allows developers to output custom debug info.
     
    1315This plugin adds an extra panel to [Debug Bar](https://wordpress.org/plugins/debug-bar/) plugin that allows developers to output custom debug info.
    1416
    15 Think about it like Console in browsers!
     17Developers 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.
    1618
    17 **How to view debug info**
     19= How to add custom debug info =
    1820
    19 - You first need to install the [Debug Bar](https://wordpress.org/plugins/debug-bar/) plugin
    20 - Install this plugin
    21 - When viewing a page, click on **Debug Bar** in the top right of the admin bar
    22 - Select **Custom Info** panel (see screenshots)
    23 
    24 That's the place where you see all custom debug info.
    25 
    26 Note: You have to added the *custom* debug info yourself. The plugin only register a place for you to output the debug info.
    27 
    28 **How to add debug info to Custom Info panel**
    29 
    30 Add the following code whenever you want to debug a variable:
     21Add the following code wherever you want to debug a variable:
    3122
    3223`do_action( 'add_debug_info', $var );`
    3324
    34 where `$var` can has any data type. If it is a string or any simple value, the value is outputted directly. If it is an array or object, the output is the same as `print_r( $var )`.
     25where `$var` can has any data type.
     26
     27- If `$var` is a string or any simple value, the value is outputted directly.
     28- If `$var` is an array or object, the output is the same as `print_r( $var )`.
     29
     30= How to view debug info =
     31
     32- Click on **Debug Bar** in the top right of the admin bar
     33- Select **Custom Info** panel (see [screenshots](https://wordpress.org/plugins/debug-bar-custom-info/screenshots/))
    3534
    3635[Visit Project Homepage](http://fitwp.com/debug-bar-custom-info/)
     
    4645== Screenshots ==
    4746
     471. Custom Info Panel
     48
    4849== Changelog ==
    4950
  • debug-bar-custom-info/trunk/readme.txt

    r931851 r932629  
    66Tested up to: 3.9.1
    77Stable tag: 1.0.1
     8License: GPLv2 or later
     9License URI: http://www.gnu.org/licenses/gpl-2.0.html
    810
    911This plugin adds an extra panel to Debug Bar plugin that allows developers to output custom debug info.
     
    1315This plugin adds an extra panel to [Debug Bar](https://wordpress.org/plugins/debug-bar/) plugin that allows developers to output custom debug info.
    1416
    15 Think about it like Console in browsers!
     17Developers 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.
    1618
    17 **How to view debug info**
     19= How to add custom debug info =
    1820
    19 - You first need to install the [Debug Bar](https://wordpress.org/plugins/debug-bar/) plugin
    20 - Install this plugin
    21 - When viewing a page, click on **Debug Bar** in the top right of the admin bar
    22 - Select **Custom Info** panel (see screenshots)
    23 
    24 That's the place where you see all custom debug info.
    25 
    26 Note: You have to added the *custom* debug info yourself. The plugin only register a place for you to output the debug info.
    27 
    28 **How to add debug info to Custom Info panel**
    29 
    30 Add the following code whenever you want to debug a variable:
     21Add the following code wherever you want to debug a variable:
    3122
    3223`do_action( 'add_debug_info', $var );`
    3324
    34 where `$var` can has any data type. If it is a string or any simple value, the value is outputted directly. If it is an array or object, the output is the same as `print_r( $var )`.
     25where `$var` can has any data type.
     26
     27- If `$var` is a string or any simple value, the value is outputted directly.
     28- If `$var` is an array or object, the output is the same as `print_r( $var )`.
     29
     30= How to view debug info =
     31
     32- Click on **Debug Bar** in the top right of the admin bar
     33- Select **Custom Info** panel (see [screenshots](https://wordpress.org/plugins/debug-bar-custom-info/screenshots/))
    3534
    3635[Visit Project Homepage](http://fitwp.com/debug-bar-custom-info/)
     
    4645== Screenshots ==
    4746
     471. Custom Info Panel
     48
    4849== Changelog ==
    4950
Note: See TracChangeset for help on using the changeset viewer.