Changeset 3104739
- Timestamp:
- 06/19/2024 07:02:01 PM (5 weeks ago)
- Location:
- wp-hooks-finder/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-hooks-finder/trunk/readme.txt
r3104409 r3104739 4 4 Requires at least: 4.0 5 5 Tested up to: 6.5.4 6 Stable tag: 1.3 6 Stable tag: 1.3 7 7 License: GPLv2 8 8 License URI: GPLv2 … … 38 38 39 39 == Changelog == 40 41 42 40 43 = 1.3 = 41 44 - **NEW** - New Look & Feel -
wp-hooks-finder/trunk/wp-hooks-finder.php
r3104409 r3104739 2 2 /** 3 3 * Plugin Name: WP Hooks Finder 4 * Version: 1.3 4 * Version: 1.3 5 5 * Description: Easily enable/disable hooks and filters which are running in the page. A menu "WP Hooks Finder" will be added in your wordpress admin bar menu where you can display all the hooks and filters 6 6 * Author: Muhammad Rehman … … 11 11 12 12 define( 'WPHF_PLUGIN_PATH', plugin_dir_url( __FILE__ ) ); 13 define( 'WPHF_PLUGIN_VERSION', '1.3 ' );13 define( 'WPHF_PLUGIN_VERSION', '1.3' ); 14 14 15 15 Class WP_Hooks_Finder { … … 33 33 */ 34 34 public function wphf_style() { 35 wp_enqueue_style( 'wphf-style', WPHF_PLUGIN_PATH . 'assets/css/style.css' ); 36 wp_enqueue_style( 'wphf-style-hook', WPHF_PLUGIN_PATH . 'assets/css/hooks-style.css' ); 37 wp_enqueue_script( 'wphf-script-hook', WPHF_PLUGIN_PATH . 'assets/js/script.js', array(), WPHF_PLUGIN_VERSION, true ); 35 36 37 wp_enqueue_style( 'wphf-style', WPHF_PLUGIN_PATH . 'assets/css/style.css' ); 38 if( ( isset( $_GET['wphf'] ) && $_GET['wphf'] == 1 ) || 39 ( isset( $_GET['wphfa'] ) && $_GET['wphfa'] == 1 ) || 40 ( isset( $_GET['wphff'] ) && $_GET['wphff'] == 1 ) ) { 41 42 wp_enqueue_style( 'wphf-style-hook', WPHF_PLUGIN_PATH . 'assets/css/hooks-style.css' ); 43 wp_enqueue_script( 'wphf-script-hook', WPHF_PLUGIN_PATH . 'assets/js/script.js', array(), WPHF_PLUGIN_VERSION, true ); 44 } 38 45 } 39 46
Note: See TracChangeset
for help on using the changeset viewer.