Changeset 2795830
- Timestamp:
- 10/07/2022 10:57:14 PM (3 years ago)
- Location:
- another-show-hooks
- Files:
-
- 12 added
- 4 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/another-show-hooks.php (added)
-
tags/1.0.2/assets (added)
-
tags/1.0.2/assets/css (added)
-
tags/1.0.2/assets/css/ash-main.css (added)
-
tags/1.0.2/assets/js (added)
-
tags/1.0.2/assets/js/ash-main.js (added)
-
tags/1.0.2/index.php (added)
-
tags/1.0.2/languages (added)
-
tags/1.0.2/languages/another-show-hooks.pot (added)
-
tags/1.0.2/license.txt (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/another-show-hooks.php (modified) (1 diff)
-
trunk/assets/css/ash-main.css (modified) (1 diff)
-
trunk/assets/js/ash-main.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
another-show-hooks/trunk/another-show-hooks.php
r2769566 r2795830 12 12 * Plugin URI: https://github.com/vairafiq/another-show-hooks 13 13 * Description: Debug your code quickly by showing the origin of action and filter hooks sequentially on a page. 14 * Version: 1.0. 114 * Version: 1.0.2 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.2 -
another-show-hooks/trunk/assets/css/ash-main.css
r2761873 r2795830 663 663 background-color: #d3254b; 664 664 } 665 /* Oxygen compatiblity */ 666 .oxygen-body { 667 display: block !important; 668 } -
another-show-hooks/trunk/assets/js/ash-main.js
r2761873 r2795830 17 17 18 18 19 const wrapper = document.querySelector("#ash-dragable-hook-panel"), 20 header = wrapper.querySelector(".ash-show-move-window"); 19 const wrapper = document.querySelector("#ash-dragable-hook-panel"); 20 var header = ''; 21 if( wrapper !== null ) { 22 header = wrapper.querySelector(".ash-show-move-window"); 23 } 21 24 22 25 function onDrag({movementX, movementY}){ … … 28 31 } 29 32 30 header.addEventListener("mousedown", ()=>{ 31 header.classList.add("ash_active"); 32 header.addEventListener("mousemove", onDrag); 33 }); 34 35 document.addEventListener("mouseup", ()=>{ 36 header.classList.remove("ash_active"); 37 header.removeEventListener("mousemove", onDrag); 38 }); 33 if( header ) { 34 header.addEventListener("mousedown", ()=>{ 35 header.classList.add("ash_active"); 36 header.addEventListener("mousemove", onDrag); 37 }); 38 39 document.addEventListener("mouseup", ()=>{ 40 header.classList.remove("ash_active"); 41 header.removeEventListener("mousemove", onDrag); 42 }); 43 } 39 44 }); -
another-show-hooks/trunk/readme.txt
r2769566 r2795830 6 6 Requires PHP: 7.2 7 7 Tested up to: 6.0 8 Stable tag: 1.0. 18 Stable tag: 1.0.2 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 20 20 Let's have a question for you! 21 21 22 Which hook fire first?22 Which hook fires first? 23 23 24 24 1. `admin_init` … … 87 87 == Changelog == 88 88 89 === Another Show Hooks === 90 Contributors: exlac 91 Donate link: https://exlac.com/product/show-hooks-pro/ 92 Tags: hooks, debug, action, filter, hook sequence 93 Requires at least: 5.2 94 Requires PHP: 7.2 95 Tested up to: 6.0 96 Stable tag: 1.0.2 97 License: GPLv3 98 License URI: https://www.gnu.org/licenses/gpl-3.0.html 99 100 Show the origin of an action or filter hook sequentially which helps a developer to debug quickly. 101 102 == Description == 103 104 A sequential and visual representation of WordPress action and filter hooks. This is a Developer tool so if you are a developer then it might be a life-saver plugin. 105 106 == How? == 107 108 Let's have a question for you! 109 110 Which hook fires first? 111 112 1. `admin_init` 113 2. `init` 114 115 A bit confusing, right? `init` runs first and after firing almost 100 hooks `admin_init` runs. Before developing the plugin I had to jump over google or wp handbook which kills my development time and makes my project delayed. 116 117 To get rid of this problem, Another Show Hooks present you with a graphical overview right from your web screen. 118 119 == Some cool features == 120 121 👉 Graphical Presentation 122 👉 Count the total number of uses 123 👉 List out all the callback functions with **priority** 124 👉 Get core code reference 125 👉 Draggable hook window for flexible debugging 126 127 🔥🔥🔥 **[Pro Features](https://exlac.com/product/show-hooks-pro/)**🔥🔥🔥 128 129 >*Hook search with the prefix 130 >*Advanced debugging with selective user roles 131 >*Disable callback function directly from pages 132 >*Automation 133 134 == Contribute to Show Hooks == 135 136 If you want to contribute to the project, you’re most welcome to make it happen. The full source code is available on [GitHub](https://github.com/vairafiq/another-show-hooks). If you find anything improbable, feel free to shoot a bug report or create a pull request. 137 138 == Origin == 139 140 We are proud the original base of the plugin was a fork of [Simply Show Hooks](https://wordpress.org/plugins/simply-show-hooks/) as it has not been maintained for the last 6 years and has lots of compatibility issues. We have improved the code security and made it compatible with the latest WordPress. 141 142 == Installation == 143 144 Using the WordPress Plugin Search 145 146 1. Navigate to the `Add New` sub-page under the Plugins admin page. 147 2. Search for `another show hooks`. 148 3. The plugin should be listed first in the search results. 149 4. Click the `Install Now` link. 150 5. Lastly click the `Activate Plugin` link to activate the plugin. 151 152 Uploading in WordPress Admin 153 154 1. [Download the plugin zip file](https://wordpress.org/plugins/another-show-hooks/) and save it to your computer. 155 2. Navigate to the `Add New` sub-page under the Plugins admin page. 156 3. Click the `Upload` link. 157 4. Select Another Show Hooks zip file from where you saved the zip file on your computer. 158 5. Click the `Install Now` button. 159 6. Lastly click the `Activate Plugin` link to activate the plugin. 160 161 Using FTP 162 163 1. [Download the plugin zip file](https://wordpress.org/plugins/another-show-hooks/) and save it to your computer. 164 2. Extract the Another Show Hooks zip file. 165 3. Create a new directory named `another-show-hooks` directory in the `../wp-content/plugins/` directory. 166 4. Upload the files from the folder extracted in Step 2. 167 4. Activate the plugin on the Plugins admin page. 168 169 == Screenshots == 170 171 1. Firing sequence of init and admin_init 172 2. Dragable hook window 173 3. Uses of init hook 174 175 == Changelog == 176 177 = 1.0.2 = 178 179 * Fix - Compatibility issue with Oxygen Builder plugin 180 * Fix - Console errors 181 182 = 1.0.1 = 183 184 * Improved 185 89 186 = 1.0.0 = 90 187
Note: See TracChangeset
for help on using the changeset viewer.