Plugin Directory

Changeset 646876


Ignore:
Timestamp:
01/02/2013 05:30:48 AM (13 years ago)
Author:
misternifty
Message:

Updated readme

Location:
debug-this
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • debug-this/tags/0.3/readme.txt

    r646875 r646876  
    9494}
    9595`
    96 Extensions can be removed as well.
    97 `remove_debug_extension($mode);`
     96
     97You can add links to the header of a debug mode page. Place this code within your debug callback function.
     98
     99**Example**
     100
     101`add_debug_header_link('http://urltolink', 'Link Label');`
     102
     103
     104Extensions can be removed as well using `remove_debug_extension($mode);`
     105
    98106
    99107**No PRE Tags**
     
    102110
    103111`Debug_This::$no_pre = true;`
     112
     113**Saved Queries and Execution Time**
     114
     115Retrieve saved queries and execution time by using the following static properties:
     116
     117* Debug_This::$execution_time
     118* Debug_This::$queries - SAVEQUERIES must defined as true
     119
     120**URL Helpers**
     121
     122* `Debug_This::get_current_debug_url()` - current URL with the debug query
     123* `Debug_This::get_escape_url()` - used for the debug escape link that links to original page URL
    104124
    105125= WP Actions =
  • debug-this/trunk/readme.txt

    r646873 r646876  
    9494}
    9595`
    96 Extensions can be removed as well.
    97 `remove_debug_extension($mode);`
     96
     97You can add links to the header of a debug mode page. Place this code within your debug callback function.
     98
     99**Example**
     100
     101`add_debug_header_link('http://urltolink', 'Link Label');`
     102
     103
     104Extensions can be removed as well using `remove_debug_extension($mode);`
     105
    98106
    99107**No PRE Tags**
     
    102110
    103111`Debug_This::$no_pre = true;`
     112
     113**Saved Queries and Execution Time**
     114
     115Retrieve saved queries and execution time by using the following static properties:
     116
     117* Debug_This::$execution_time
     118* Debug_This::$queries - SAVEQUERIES must defined as true
     119
     120**URL Helpers**
     121
     122* `Debug_This::get_current_debug_url()` - current URL with the debug query
     123* `Debug_This::get_escape_url()` - used for the debug escape link that links to original page URL
    104124
    105125= WP Actions =
Note: See TracChangeset for help on using the changeset viewer.