Welcome, visitor! Log in
 

WordPress hook directory
pre_{$field}

Important warning about variable hooks

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.

Former names for pre_{$field}

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
link_description2.3View details here.
link_rating2.3View details here.
pre_link_description2.3View details here.
pre_link_image2.3View details here.
pre_link_name2.3View details here.
pre_link_notes2.3View details here.
pre_link_rel2.3View details here.
pre_link_rss2.3View details here.
pre_link_target2.3View details here.
pre_link_url2.3View details here.

WordPress version history for pre_{$field}

This database has information for all major versions from WP 1.2.1 through 4.4.

Version File Line Type
2.3 wp-includes/bookmark.php 210 View hook in source filter
2.3 wp-includes/post.php 483 View hook in source filter
2.5 wp-includes/bookmark.php 306 View hook in source filter
2.5 wp-includes/post.php 788 View hook in source filter
2.6 wp-includes/bookmark.php 319 View hook in source filter
2.6 wp-includes/post.php 824 View hook in source filter
2.7 wp-includes/bookmark.php 341 View hook in source filter
2.7 wp-includes/post.php 853 View hook in source filter
2.8 wp-includes/bookmark.php 351 View hook in source filter
2.8 wp-includes/post.php 891 View hook in source filter
2.9 wp-includes/bookmark.php 351 View hook in source filter
2.9 wp-includes/post.php 924 View hook in source filter
2.9 wp-includes/user.php 714 View hook in source filter
3.0 wp-includes/bookmark.php 346 View hook in source filter
3.0 wp-includes/post.php 1460 View hook in source filter
3.0 wp-includes/user.php 857 View hook in source filter
3.1 wp-includes/bookmark.php 345 View hook in source filter
3.1 wp-includes/post.php 1687 View hook in source filter
3.1 wp-includes/user.php 1233 View hook in source filter
3.2 wp-includes/bookmark.php 355 View hook in source filter
3.2 wp-includes/post.php 1718 View hook in source filter
3.2 wp-includes/user.php 1236 View hook in source filter
3.3 wp-includes/bookmark.php 358 View hook in source filter
3.3 wp-includes/post.php 1710 View hook in source filter
3.3 wp-includes/user.php 1107 View hook in source filter
3.4 wp-includes/bookmark.php 358 View hook in source filter
3.4 wp-includes/post.php 1767 View hook in source filter
3.4 wp-includes/user.php 1101 View hook in source filter
3.5 wp-includes/bookmark.php 363 View hook in source filter
3.5 wp-includes/post.php 2033 View hook in source filter
3.5 wp-includes/user.php 1132 View hook in source filter
3.6 wp-includes/bookmark.php 363 View hook in source filter
3.6 wp-includes/post.php 1961 View hook in source filter
3.6 wp-includes/user.php 1131 View hook in source filter
3.7 wp-includes/bookmark.php 363 View hook in source filter
3.7 wp-includes/post.php 2001 View hook in source filter
3.7 wp-includes/user.php 1152 View hook in source filter
3.8 wp-includes/bookmark.php 384 View hook in source filter
3.8 wp-includes/post.php 2005 View hook in source filter
3.8 wp-includes/user.php 1154 View hook in source filter
3.9 wp-includes/bookmark.php 384 View hook in source filter
3.9 wp-includes/post.php 2067 View hook in source filter
3.9 wp-includes/user.php 1353 View hook in source filter
4.0 wp-includes/bookmark.php 392 View hook in source filter
4.0 wp-includes/post.php 2195 View hook in source filter
4.0 wp-includes/user.php 1457 View hook in source filter
4.1 wp-includes/bookmark.php 391 View hook in source filter
4.1 wp-includes/post.php 2195 View hook in source filter
4.1 wp-includes/user.php 1520 View hook in source filter
4.2 wp-includes/bookmark.php 391 View hook in source filter
4.2 wp-includes/post.php 2204 View hook in source filter
4.2 wp-includes/user.php 1631 View hook in source filter
4.3 wp-includes/bookmark.php 391 View hook in source filter
4.3 wp-includes/post.php 2230 View hook in source filter
4.3 wp-includes/user.php 1670 View hook in source filter
4.4 wp-includes/bookmark.php 391 View hook in source filter
4.4 wp-includes/post.php 1974 View hook in source filter
4.4 wp-includes/user.php 1062 View hook in source filter

Related Hooks

We find related hooks using word stems. pre_{$field} has 1 significant word stem(s): field. Note that some of the hooks below may not appear in all versions of WP.