Filters the value of a specific post field to edit.
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_edit_pre</li> <li>date_edit_pre</li> <li>date_gmt_edit_pre</li> <li>content_edit_pre</li> <li>title_edit_pre</li> <li>excerpt_edit_pre</li> <li>status_edit_pre</li> <li>password_edit_pre</li> <li>name_edit_pre</li> <li>modified_edit_pre</li> <li>modified_gmt_edit_pre</li> <li>content_filtered_edit_pre</li> <li>parent_edit_pre</li> <li>type_edit_pre</li> <li>mime_type_edit_pre</li> </ul>
3105*3106* @since 2.3.03107*3108* @param mixed$value Value of the post field.3109* @param int$post_id Post ID.3110*/3111$value=apply_filters("{$field_no_prefix}_edit_pre",$value,$post_id);3112}else{3113/**3114* Filters the value of a specific post field to edit.3115*3116* Only applied to post fields not prefixed with `post_`.3117*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.