Filters the value of a specific 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_no_prefix, refers to the post field name minus the post_ prefix. Possible filter names include: <ul> <li>author_save_pre</li> <li>date_save_pre</li> <li>date_gmt_save_pre</li> <li>content_save_pre</li> <li>title_save_pre</li> <li>excerpt_save_pre</li> <li>status_save_pre</li> <li>password_save_pre</li> <li>name_save_pre</li> <li>modified_save_pre</li> <li>modified_gmt_save_pre</li> <li>content_filtered_save_pre</li> <li>parent_save_pre</li> <li>type_save_pre</li> <li>mime_type_save_pre</li> </ul>
3144*-`mime_type_save_pre`3145*3146* @since 2.3.03147*3148* @param mixed$value Value of the post field.3149*/3150$value=apply_filters("{$field_no_prefix}_save_pre",$value);3151}else{3152/**3153* Filters the value of a specific field before saving.3154*3155* Only applied to post fields with a name which is prefixed with `post_`.3156*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.