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 | determine_locale | filter | no | wp-includes/l10n.php | |
2 | gettext | filter | no | wp-includes/l10n.php | |
3 | gettext_with_context | filter | no | wp-includes/l10n.php | |
4 | gettext_with_context_{$domain} | note | filter | no | wp-includes/l10n.php |
5 | gettext_{$domain} | note | filter | no | wp-includes/l10n.php |
6 | get_available_languages | filter | no | wp-includes/l10n.php | |
7 | load_script_textdomain_relative_path | filter | no | wp-includes/l10n.php | |
8 | load_script_translations | filter | no | wp-includes/l10n.php | |
9 | load_script_translation_file | filter | no | wp-includes/l10n.php | |
10 | load_textdomain | action | no | wp-includes/l10n.php | |
11 | load_textdomain_mofile | filter | no | wp-includes/l10n.php | |
12 | locale | filter | no | wp-includes/l10n.php | |
13 | locale | filter | no | wp-includes/l10n.php | |
14 | ngettext | filter | no | wp-includes/l10n.php | |
15 | ngettext_with_context | filter | no | wp-includes/l10n.php | |
16 | ngettext_with_context_{$domain} | note | filter | no | wp-includes/l10n.php |
17 | ngettext_{$domain} | note | filter | no | wp-includes/l10n.php |
18 | override_load_textdomain | filter | no | wp-includes/l10n.php | |
19 | override_unload_textdomain | filter | no | wp-includes/l10n.php | |
20 | plugin_locale | filter | no | wp-includes/l10n.php | |
21 | plugin_locale | filter | no | wp-includes/l10n.php | |
22 | pre_determine_locale | filter | no | wp-includes/l10n.php | |
23 | pre_load_script_translations | filter | no | wp-includes/l10n.php | |
24 | theme_locale | filter | no | wp-includes/l10n.php | |
25 | unload_textdomain | action | no | wp-includes/l10n.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.