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>
3112*-`pre_post_mime_type`3113*3114* @since 2.3.03115*3116* @param mixed$value Value of the post field.3117*/3118$value=apply_filters("pre_{$field}",$value);31193120/**3121* Filters the value of a specific field before saving.3122*3123* Only applied to post fields with a name which is prefixed with `post_`.3124*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.