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>
2949*2950* @since 2.3.02951*2952* @param mixed$value Value of the post field.2953* @param int$post_id Post ID.2954*/2955$value=apply_filters("{$field_no_prefix}_edit_pre",$value,$post_id);2956}else{2957/**2958* Filters the value of a specific post field to edit.2959*2960* Only applied to post fields not prefixed with `post_`.2961*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.