WP hooks navigation: Home/browse • Actions index • Filters index
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.
This is a variable hook. Because its name contains some variables, this hook might actually refer to several different possible hooks.
This variable hook replaces the following non-variable hooks found in earlier versions of WP. You may want to read up on these older hooks to get a better idea of what this variable hook can do.
Replaced Hook | Version when Changed | Information about Hook |
---|---|---|
excerpt_edit_pre | 2.3 | Applied to post excerpt prior to display for editing. Sources: [1] and [2] |
title_edit_pre | 2.3 | Applied to post title prior to display for editing. Sources: [1] and [2] |
This database has information for all major versions from WP 1.2.1 through 6.2.
Version | File | Line | Type | |
---|---|---|---|---|
2.3 | wp-includes/post.php | 468 | View in context | filter |
2.5 | wp-includes/post.php | 773 | View in context | filter |
2.6 | wp-includes/post.php | 809 | View in context | filter |
2.7 | wp-includes/post.php | 838 | View in context | filter |
2.8 | wp-includes/post.php | 876 | View in context | filter |
2.9 | wp-includes/post.php | 909 | View in context | filter |
3.0 | wp-includes/post.php | 1445 | View in context | filter |
3.1 | wp-includes/post.php | 1672 | View in context | filter |
3.2 | wp-includes/post.php | 1703 | View in context | filter |
3.3 | wp-includes/post.php | 1695 | View in context | filter |
3.4 | wp-includes/post.php | 1752 | View in context | filter |
3.5 | wp-includes/post.php | 2018 | View in context | filter |
3.6 | wp-includes/post.php | 1946 | View in context | filter |
3.7 | wp-includes/post.php | 1986 | View in context | filter |
3.8 | wp-includes/post.php | 1990 | View in context | filter |
3.9 | wp-includes/post.php | 2042 | View in context | filter |
4.0 | wp-includes/post.php | 2169 | View in context | filter |
4.1 | wp-includes/post.php | 2169 | View in context | filter |
4.2 | wp-includes/post.php | 2178 | View in context | filter |
4.3 | wp-includes/post.php | 2204 | View in context | filter |
4.4 | wp-includes/post.php | 1948 | View in context | filter |
4.5 | wp-includes/post.php | 2065 | View in context | filter |
4.6 | wp-includes/post.php | 1897 | View in context | filter |
4.7 | wp-includes/post.php | 1991 | View in context | filter |
4.8 | wp-includes/post.php | 1991 | View in context | filter |
4.9 | wp-includes/post.php | 2022 | View in context | filter |
5.0 | wp-includes/post.php | 2181 | View in context | filter |
5.1 | wp-includes/post.php | 2323 | View in context | filter |
5.2 | wp-includes/post.php | 2323 | View in context | filter |
5.3 | wp-includes/post.php | 2404 | View in context | filter |
5.4 | wp-includes/post.php | 2415 | View in context | filter |
5.5 | wp-includes/post.php | 2428 | View in context | filter |
5.6 | wp-includes/post.php | 2440 | View in context | filter |
5.7 | wp-includes/post.php | 2528 | View in context | filter |
5.8 | wp-includes/post.php | 2605 | View in context | filter |
5.9 | wp-includes/post.php | 2806 | View in context | filter |
6.0 | wp-includes/post.php | 2789 | View in context | filter |
6.1 | wp-includes/post.php | 2795 | View in context | filter |
6.2 | wp-includes/post.php | 2797 | View in context | filter |
We find related hooks using word stems. {$field_no_prefix}_edit_pre has 4 significant word stem(s): field
, no
, prefix
, edit
. Note that some of the hooks below may not appear in all versions of WP.