WP hooks navigation: Home/browse • Actions index • Filters index
Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, you need to look in all the files that apply the hook. Click the "details" link next to any hook for more information.
| Hook | Type | New? | File | ||
|---|---|---|---|---|---|
| 1 | added_option | action | no | wp-includes/option.php | |
| 2 | add_option | action | no | wp-includes/option.php | |
| 3 | add_option_{$option} | note | action | no | wp-includes/option.php |
| 4 | add_site_option | action | no | wp-includes/option.php | |
| 5 | add_site_option_{$option} | note | action | no | wp-includes/option.php |
| 6 | alloptions | filter | no | wp-includes/option.php | |
| 7 | default_option_{$option} | note | filter | no | wp-includes/option.php |
| 8 | default_option_{$option} | note | filter | no | wp-includes/option.php |
| 9 | default_option_{$option} | note | filter | no | wp-includes/option.php |
| 10 | default_option_{$option} | note | filter | no | wp-includes/option.php |
| 11 | default_option_{$option} | note | filter | no | wp-includes/option.php |
| 12 | default_site_option_{$option} | note | filter | no | wp-includes/option.php |
| 13 | default_site_option_{$option} | note | filter | no | wp-includes/option.php |
| 14 | default_site_option_{$option} | note | filter | no | wp-includes/option.php |
| 15 | deleted_option | action | no | wp-includes/option.php | |
| 16 | deleted_site_transient | action | no | wp-includes/option.php | |
| 17 | deleted_transient | action | no | wp-includes/option.php | |
| 18 | delete_option | action | no | wp-includes/option.php | |
| 19 | delete_option_{$option} | note | action | no | wp-includes/option.php |
| 20 | delete_site_option | action | no | wp-includes/option.php | |
| 21 | delete_site_option_{$option} | note | action | no | wp-includes/option.php |
| 22 | delete_site_transient_{$transient} | note | action | no | wp-includes/option.php |
| 23 | delete_transient_{$transient} | note | action | no | wp-includes/option.php |
| 24 | expiration_of_site_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 25 | expiration_of_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 26 | option_{$option} | note | filter | no | wp-includes/option.php |
| 27 | pre_add_site_option_{$option} | note | filter | no | wp-includes/option.php |
| 28 | pre_cache_alloptions | filter | no | wp-includes/option.php | |
| 29 | pre_delete_site_option_{$option} | note | action | no | wp-includes/option.php |
| 30 | pre_option | filter | no | wp-includes/option.php | |
| 31 | pre_option_{$option} | note | filter | no | wp-includes/option.php |
| 32 | pre_set_site_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 33 | pre_set_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 34 | pre_site_option_{$option} | note | filter | no | wp-includes/option.php |
| 35 | pre_site_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 36 | pre_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 37 | pre_update_option | filter | no | wp-includes/option.php | |
| 38 | pre_update_option_{$option} | note | filter | no | wp-includes/option.php |
| 39 | pre_update_site_option_{$option} | note | filter | no | wp-includes/option.php |
| 40 | pre_wp_load_alloptions | filter | no | wp-includes/option.php | |
| 41 | register_setting | action | no | wp-includes/option.php | |
| 42 | register_setting_args | filter | no | wp-includes/option.php | |
| 43 | setted_site_transient | action | no | wp-includes/option.php | |
| 44 | setted_transient | action | no | wp-includes/option.php | |
| 45 | set_site_transient_{$transient} | note | action | no | wp-includes/option.php |
| 46 | set_transient_{$transient} | note | action | no | wp-includes/option.php |
| 47 | site_option_{$option} | note | filter | no | wp-includes/option.php |
| 48 | site_transient_{$transient} | note | filter | no | wp-includes/option.php |
| 49 | transient_{$transient} | note | filter | no | wp-includes/option.php |
| 50 | unregister_setting | action | no | wp-includes/option.php | |
| 51 | updated_option | action | no | wp-includes/option.php | |
| 52 | update_option | action | no | wp-includes/option.php | |
| 53 | update_option_{$option} | note | action | no | wp-includes/option.php |
| 54 | update_site_option | action | no | wp-includes/option.php | |
| 55 | update_site_option_{$option} | note | action | no | wp-includes/option.php |
| 56 | wp_autoload_values_to_autoload | filter | no | wp-includes/option.php | |
| 57 | wp_default_autoload_value | filter | no | wp-includes/option.php | |
| 58 | wp_max_autoloaded_option_size | filter | no | wp-includes/option.php |
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.