WordPress hook directory
${field_no_prefix}_save_pre
Former names for ${field_no_prefix}_save_pre
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 |
|---|---|---|
| content_filtered_save_pre | 2.3 | Applied to filtered post content prior to saving it in the database (also used for attachments). Sources: [1] |
| excerpt_save_pre | 2.3 | Applied to post excerpt prior to saving it in the database (also used for attachments). Sources: [1] |
| name_save_pre | 2.3 | Applied to post name prior to saving it in the database (also used for attachments). Sources: [1] |
| status_save_pre | 2.3 | Applied to post status prior to saving it in the database. Sources: [1] |
| title_save_pre | 2.3 | Applied to post title prior to saving it in the database (also used for attachments). Sources: [1] |
| category_save_pre | 2.3 | Applied to post category comma-separated list prior to saving it in the database (also used for attachments). Sources: [1] |
WordPress version history for ${field_no_prefix}_save_pre
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/post.php | View hook in source | filter |
| 2.3.1 | wp-includes/post.php | View hook in source | filter |
| 2.3.2 | wp-includes/post.php | View hook in source | filter |
| 2.3.3 | wp-includes/post.php | View hook in source | filter |
| 2.5 | wp-includes/post.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. ${field_no_prefix}_save_pre has 4 significant word stem(s): field, no, prefix, save. Note that some of the hooks below may not appear in all versions of WP.