Best WordPress Hooks Database / Reference

Hooks are very useful in WordPress. They allow you to hook a custom function to an existing function, which allows you to modify WordPress' functionality without editing core files.
Table of Contents

If you purchase through a link on our site, we may earn a commission.

To achieve a particular effect on a WordPress blog, you have to modify how WordPress works. Some of these modifications are made to what WordPress developers call core files,� files required by WordPress to work properly.

But modifying core files is always a bad idea. It may create a security loophole. Also, you will have lost the modification when you upgrade your WordPress installation.

Still, developers need to overwrite some of WordPress’ functionality, which is why WordPress provides the Plugin API.

Hooks are one of the main building blocks of WordPress plug-ins. Almost every plug-in uses a hook to overwrite WordPress’ core functionality.

While the WordPress website itself has its own Hooks reference, the most complete hooks database / reference is the one maintained by Adam Brown, link below:

Visit Adam Brown’s hook database

Another excellent database is WP Seek, which contains WP functions, template tags, function sources, actions, hooks and more:

https://wpseek.com

Some other Hook Resources

http://codex.wordpress.org/Plugin_API

http://www.smashingmagazine.com/2009/08/18/10-useful-wordpress-hook-hacks/

Jean Galea is an investor, entrepreneur, and writer. He is the founder of WP Mayor, and the plugins WP RSS Aggregator and Spotlight. He also runs the Good Life Collective. Connect with him on X or visit jeangalea.com.

If you purchase through a link on our site, we may earn a commission.

Latest Articles from the Blog

Stay updated with WP Mayor's newsletter.

Discover the best and latest tools and services in WordPress every month.