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>
3047*3048* @since 2.3.03049*3050* @param mixed$value Value of the post field.3051* @param int$post_id Post ID.3052*/3053$value=apply_filters("{$field_no_prefix}_edit_pre",$value,$post_id);3054}else{3055/**3056* Filters the value of a specific post field to edit.3057*3058* Only applied to post fields not prefixed with `post_`.3059*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.