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>
2998*2999* @since 2.3.03000*3001* @param mixed$value Value of the post field.3002* @param int$post_id Post ID.3003*/3004$value=apply_filters("{$field_no_prefix}_edit_pre",$value,$post_id);3005}else{3006/**3007* Filters the value of a specific post field to edit.3008*3009* Only applied to post fields not prefixed with `post_`.3010*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.