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>
3142*-`mime_type_save_pre`3143*3144* @since 2.3.03145*3146* @param mixed$value Value of the post field.3147*/3148$value=apply_filters("{$field_no_prefix}_save_pre",$value);3149}else{3150/**3151* Filters the value of a specific field before saving.3152*3153* Only applied to post fields with a name which is prefixed with `post_`.3154*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.