Filters the value of a specific post field before saving.
Description
Only applied to post fields with a name which is prefixed with post_. The dynamic portion of the hook name, $field, refers to the post field name. Possible filter names include: <ul> <li>pre_post_author</li> <li>pre_post_date</li> <li>pre_post_date_gmt</li> <li>pre_post_content</li> <li>pre_post_title</li> <li>pre_post_excerpt</li> <li>pre_post_status</li> <li>pre_post_password</li> <li>pre_post_name</li> <li>pre_post_modified</li> <li>pre_post_modified_gmt</li> <li>pre_post_content_filtered</li> <li>pre_post_parent</li> <li>pre_post_type</li> <li>pre_post_mime_type</li> </ul>
3114*-`pre_post_mime_type`3115*3116* @since 2.3.03117*3118* @param mixed$value Value of the post field.3119*/3120$value=apply_filters("pre_{$field}",$value);31213122/**3123* Filters the value of a specific field before saving.3124*3125* Only applied to post fields with a name which is prefixed with `post_`.3126*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.