Welcome, visitor! Log in

WordPress Hooks Database

What is a hook?

In brief, WordPress hooks enable you to change how WordPress behaves without editing any core files. Because you leave the WordPress files untouched, you can painlessly upgrade your blog with each new version of WordPress. It's this hooks architecture that makes WordPress the best blogging solution.

If you don't know what WordPress hooks are for, read the Plugin API or this tutorial. If you're new to web design, you might also enjoy my easy PHP tutorial.

What is this directory?

If you're a plugin or theme developer, you know how difficult it can be to figure out which hooks are available. To assist website developers, this WordPress hooks database automatically scans each WP build for apply_filters(), apply_filters_ref_array(), do_action(), and do_action_ref_array to figure out exactly which hooks are available in each WordPress version and where the hooks occur.

What is this good for?

  • See what new hooks are available with each new version of WordPress
  • See which hooks have been deprecated or renamed (use the "view all hooks" option)
  • Easily learn exactly which WP file(s) use each hook. That way, if the hook is poorly documented, you can just look in the source and figure out what it does.
  • For 553 of the most-used hooks, you can read a brief description of the hook. These are scraped from the official WordPress documentation's action reference and filter reference.

How to help?

Update and improve the official action and filter references. Next time we scrape those, your contributions will show up here. (And preserve the formatting of those references so that my code can parse them.)

Start Here: The WP Hooks Database

If you click one of these links, you will see a LARGE table listing every WordPress hook ever used, along with the version number it first appeared in and deprecation information.

Hooks in the Latest WP Release (4.4)

Hooks by WordPress Version

Version Which hooks to view?
WP 1.2.1All hooksNewDeleted
WP 1.5.2All hooksNewDeleted
WP 2.0All hooksNewDeleted
WP 2.0.11All hooksNewDeleted
WP 2.1All hooksNewDeleted
WP 2.2All hooksNewDeleted
WP 2.3All hooksNewDeleted
WP 2.5All hooksNewDeleted
WP 2.6All hooksNewDeleted
WP 2.7All hooksNewDeleted
WP 2.8All hooksNewDeleted
WP 2.9All hooksNewDeleted
WP 3.0All hooksNewDeleted
WP 3.1All hooksNewDeleted
WP 3.2All hooksNewDeleted
WP 3.3All hooksNewDeleted
WP 3.4All hooksNewDeleted
WP 3.5All hooksNewDeleted
WP 3.6All hooksNewDeleted
WP 3.7All hooksNewDeleted
WP 3.8All hooksNewDeleted
WP 3.9All hooksNewDeleted
WP 4.0All hooksNewDeleted
WP 4.1All hooksNewDeleted
WP 4.2All hooksNewDeleted
WP 4.3All hooksNewDeleted
WP 4.4All hooksNewDeleted

The Proliferation of Hooks over Time