WP hooks navigation: Home/browse • Actions index • Filters index
Important! Some WordPress hooks get applied in multiple PHP files. If you are trying to figure out what a specific WordPress hook does, sort the table by "hook" and make sure you are looking in all the files where it occurs.
| Hook | Type | New? | Instances | ||
|---|---|---|---|---|---|
| 1 | admin_xml_ns | action | YES | 1 | |
| 2 | app_publish_post | action | YES | 1 | |
| 3 | atom_enclosure | filter | YES | 1 | |
| 4 | comment_atom_entry | action | YES | 1 | |
| 5 | comment_feed_groupby | filter | YES | 1 | |
| 6 | comment_feed_join | filter | YES | 1 | |
| 7 | comment_feed_where | filter | YES | 1 | |
| 8 | comment_loop_start | action | YES | 1 | |
| 9 | created_category | action | YES | 1 | |
| 10 | deleted_link | action | YES | 1 | |
| 11 | deleted_post | action | YES | 1 | |
| 12 | edited_category | action | YES | 1 | |
| 13 | getarchives_join | filter | YES | 1 | |
| 14 | getarchives_where | filter | YES | 1 | |
| 15 | get_bloginfo_rss | filter | YES | 1 | |
| 16 | get_sidebar | action | YES | 1 | |
| 17 | get_wp_title_rss | filter | YES | 1 | |
| 18 | import_done | action | YES | 1 | |
| 19 | link_category | filter | YES | 1 | |
| 20 | link_description | filter | YES | 1 | |
| 21 | link_title | filter | YES | 1 | |
| 22 | ngettext | filter | YES | 1 | |
| 23 | phpmailer_init | action | YES | 1 | |
| 24 | pre_option_{$setting} | note | filter | YES | 1 |
| 25 | pub_priv_sql_capability | filter | YES | 1 | |
| 26 | rss_enclosure | filter | YES | 1 | |
| 27 | script_loader_src | filter | YES | 1 | |
| 28 | sidebar_admin_page | action | YES | 1 | |
| 29 | sidebar_admin_setup | action | YES | 1 | |
| 30 | status_header | filter | YES | 1 | |
| 31 | theme_mod_{$name} | note | filter | YES | 1 |
| 32 | the_meta_key | filter | YES | 1 | |
| 33 | trackback_url | filter | YES | 1 | |
| 34 | url_to_postid | filter | YES | 1 | |
| 35 | user_trailingslashit | filter | YES | 1 | |
| 36 | widgets_init | action | YES | 1 | |
| 37 | wp_mail | filter | YES | 1 | |
| 38 | wp_mail_from | filter | YES | 1 | |
| 39 | wp_title_rss | filter | YES | 1 | |
| 40 | xmlrpc_text_filters | filter | YES | 1 | |
| 41 | _admin_menu | action | YES | 1 |
Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not. You can usually catch this sort of thing by comparing this hook to the list of "related hooks" below.