Plugin Directory

Changeset 2795830


Ignore:
Timestamp:
10/07/2022 10:57:14 PM (3 years ago)
Author:
exlac
Message:

released version 1.0.2

Location:
another-show-hooks
Files:
12 added
4 edited

Legend:

Unmodified
Added
Removed
  • another-show-hooks/trunk/another-show-hooks.php

    r2769566 r2795830  
    1212 * Plugin URI:        https://github.com/vairafiq/another-show-hooks
    1313 * Description:       Debug your code quickly by showing the origin of action and filter hooks sequentially on a page.
    14  * Version:           1.0.1
     14 * Version:           1.0.2
    1515 * Requires at least: 5.2
    1616 * Requires PHP:      7.2
  • another-show-hooks/trunk/assets/css/ash-main.css

    r2761873 r2795830  
    663663    background-color: #d3254b;
    664664}
     665/* Oxygen compatiblity */
     666.oxygen-body {
     667    display: block !important;
     668}
  • another-show-hooks/trunk/assets/js/ash-main.js

    r2761873 r2795830  
    1717
    1818
    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    }
    2124
    2225    function onDrag({movementX, movementY}){
     
    2831    }
    2932
    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    }
    3944});
  • another-show-hooks/trunk/readme.txt

    r2769566 r2795830  
    66Requires PHP: 7.2
    77Tested up to: 6.0
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    2020Let's have a question for you!
    2121
    22 Which hook fire first?
     22Which hook fires first?
    2323
    24241. `admin_init`
     
    8787== Changelog ==
    8888
     89=== Another Show Hooks ===
     90Contributors: exlac
     91Donate link: https://exlac.com/product/show-hooks-pro/
     92Tags: hooks, debug, action, filter, hook sequence
     93Requires at least: 5.2
     94Requires PHP: 7.2
     95Tested up to: 6.0
     96Stable tag: 1.0.2
     97License: GPLv3
     98License URI: https://www.gnu.org/licenses/gpl-3.0.html
     99
     100Show the origin of an action or filter hook sequentially which helps a developer to debug quickly.
     101
     102== Description ==
     103
     104A 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
     108Let's have a question for you!
     109
     110Which hook fires first?
     111
     1121. `admin_init`
     1132. `init`
     114
     115A 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
     117To 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
     136If 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
     140We 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
     144Using the WordPress Plugin Search
     145
     1461. Navigate to the `Add New` sub-page under the Plugins admin page.
     1472. Search for `another show hooks`.
     1483. The plugin should be listed first in the search results.
     1494. Click the `Install Now` link.
     1505. Lastly click the `Activate Plugin` link to activate the plugin.
     151
     152Uploading in WordPress Admin
     153
     1541. [Download the plugin zip file](https://wordpress.org/plugins/another-show-hooks/) and save it to your computer.
     1552. Navigate to the `Add New` sub-page under the Plugins admin page.
     1563. Click the `Upload` link.
     1574. Select Another Show Hooks zip file from where you saved the zip file on your computer.
     1585. Click the `Install Now` button.
     1596. Lastly click the `Activate Plugin` link to activate the plugin.
     160
     161Using FTP
     162
     1631. [Download the plugin zip file](https://wordpress.org/plugins/another-show-hooks/) and save it to your computer.
     1642. Extract the Another Show Hooks zip file.
     1653. Create a new directory named `another-show-hooks` directory in the `../wp-content/plugins/` directory.
     1664. Upload the files from the folder extracted in Step 2.
     1674. Activate the plugin on the Plugins admin page.
     168
     169== Screenshots ==
     170
     1711. Firing sequence of init and admin_init
     1722. Dragable hook window
     1733. 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
    89186= 1.0.0 =
    90187
Note: See TracChangeset for help on using the changeset viewer.