Left hook wordpress hosting

Description

Up until now the way theme and plugin developers find where to hook into with their add_action() and add_filter() functions is either to search through the WordPress code base, or find find a reference to the hook in the codex.

What Simply Show Hooks does is give you a simpler way to see these hooks by displaying them in-line on the page that you are on. All that’s left to do then is copy the hook you need, and paste it in to your add_action and add_filter functions like this:
add_action( ‘wp_enqueue_scripts’, ‘my_enqueue_scripts_action’ );
add_filter( ‘the_title’, ‘my_the_title_filter’ );

Left hook wordpress hosting that you

I made this plugin so I could find WordPress hooks quicker and I use it all the time, so I thought I’d share it and see if it could help others.

Please note that in odd cases, due to the nature of actions and filters, the plugin may display a hook in place that disrupts the display of your site – in which case we always display the ‘Hide Hooks’ button so you can switch it back off. This won’t disrupt the look of you site to anyone but you so don’t worry.

  • Here you can see how you can quickly find any action hook by using Simply Show Hooks while you're on any WordPress wp-admin page.
  • Here you can see Simply Show Hooks doing it's thing on any page of your website.

Installation

  1. Install either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Once the plugin is activated you will see ‘Simply Show Hooks’ in the Admin Bar at the top of your site or admin pages.
  4. Clicking the ‘Show Hooks’ button will start showing you all the action hooks in the page you’re on.
  5. You can continue to navigate around until you’ve found the action hook you’re looking for, then switch off by clicking ‘Hide Hooks’.
  6. Simple but effective. Enjoy!

My days of mindlessly combing through line after line of plugin code to find hooks & filters are over. UI is a bit messy with how the tags are displayed, but that’s negligible compared to how much time this is going to save me. Donation sent. Keep up the great work.

Watch this video!

Related articles

Akismet key free wordpress hostingDescription Akismet takes the pain out of managing comment spam. It ensures that that spam doesn't mess with your search engine rankings, and gives you more time to connect with your readers,...
Stop trackbacks pingbacks wordpress hostingLinking to your own posts also known as interlinking is great for SEO. However with pingbacks enabled on your site, interlinking posts can become annoying because WordPress automatically...
What is akismet api key wordpress hostingDescription Akismet takes the pain out of managing comment spam. It ensures that that spam doesn't mess with your search engine rankings, and gives you more time to connect with your readers,...
Multiple news feeds wordpress hostingRecently, one of our users asked if we could cover how to create a custom Facebook feed in WordPress? You can display Facebook posts from your page or group on your WordPress site to improve...
Ad management system wordpress hostingA complete list of top advertising management plugins for WordPress creates and manage your ads without any third party with the help of these plugins. Once you start getting a decent amount of...