Changeset 646876
- Timestamp:
- 01/02/2013 05:30:48 AM (13 years ago)
- Location:
- debug-this
- Files:
-
- 2 edited
-
tags/0.3/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
debug-this/tags/0.3/readme.txt
r646875 r646876 94 94 } 95 95 ` 96 Extensions can be removed as well. 97 `remove_debug_extension($mode);` 96 97 You 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 104 Extensions can be removed as well using `remove_debug_extension($mode);` 105 98 106 99 107 **No PRE Tags** … … 102 110 103 111 `Debug_This::$no_pre = true;` 112 113 **Saved Queries and Execution Time** 114 115 Retrieve 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 104 124 105 125 = WP Actions = -
debug-this/trunk/readme.txt
r646873 r646876 94 94 } 95 95 ` 96 Extensions can be removed as well. 97 `remove_debug_extension($mode);` 96 97 You 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 104 Extensions can be removed as well using `remove_debug_extension($mode);` 105 98 106 99 107 **No PRE Tags** … … 102 110 103 111 `Debug_This::$no_pre = true;` 112 113 **Saved Queries and Execution Time** 114 115 Retrieve 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 104 124 105 125 = WP Actions =
Note: See TracChangeset
for help on using the changeset viewer.