WordPress hook directory
pre_$field
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_description | 2.3 | Applied to the link description by the get_links and wp_list_bookmarks functions (as of WordPress 2.2). Sources: [1] |
| link_rating | 2.3 | Applied to the link rating number by the get_linkrating function. Sources: [1] |
| pre_link_description | 2.3 | Applied to the link description prior to saving in the database. Sources: [1] |
| pre_link_image | 2.3 | Applied to the link image prior to saving in the database. Sources: [1] |
| pre_link_name | 2.3 | Applied to the link name prior to saving in the database. Sources: [1] |
| pre_link_notes | 2.3 | Applied to the link notes prior to saving in the database. Sources: [1] |
| pre_link_rel | 2.3 | Applied to the link relation information prior to saving in the database. Sources: [1] |
| pre_link_rss | 2.3 | Applied to the link RSS URL prior to saving in the database. Sources: [1] |
| pre_link_target | 2.3 | Applied to the link target information prior to saving in the database. Sources: [1] |
| pre_link_url | 2.3 | Applied to the link URL prior to saving in the database. Sources: [1] |
WordPress version history for pre_$field
This database has information for all major versions from WP 1.2.1 through 2.6. (Note that some intermediate versions are not indexed, particularly 2.0.1 through 2.0.10.) If 2.6 does not show up below, then this hook is deprecated.
| Version | File | Type | |
|---|---|---|---|
| 2.3 | wp-includes/bookmark.php | View hook in source | filter |
| 2.3 | wp-includes/post.php | View hook in source | filter |
| 2.3.1 | wp-includes/bookmark.php | View hook in source | filter |
| 2.3.1 | wp-includes/post.php | View hook in source | filter |
| 2.3.2 | wp-includes/bookmark.php | View hook in source | filter |
| 2.3.2 | wp-includes/post.php | View hook in source | filter |
| 2.3.3 | wp-includes/bookmark.php | View hook in source | filter |
| 2.3.3 | wp-includes/post.php | View hook in source | filter |
| 2.5 | wp-includes/bookmark.php | View hook in source | filter |
| 2.5 | wp-includes/post.php | View hook in source | filter |
| 2.6 | wp-includes/bookmark.php | View hook in source | filter |
| 2.6 | wp-includes/post.php | 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.