Filters the value of a specific post field to edit.
Description
Only applied to post fields not prefixed with post_. The dynamic portion of the hook name, $field, refers to the post field name. Possible filter names include: <ul> <li>edit_post_ID</li> <li>edit_post_ping_status</li> <li>edit_post_pinged</li> <li>edit_post_to_ping</li> <li>edit_post_comment_count</li> <li>edit_post_comment_status</li> <li>edit_post_guid</li> <li>edit_post_menu_order</li> </ul>
3069*3070* @since 2.3.03071*3072* @param mixed$value Value of the post field.3073* @param int$post_id Post ID.3074*/3075$value=apply_filters("edit_post_{$field}",$value,$post_id);3076}30773078if(in_array($field,$format_to_edit,true)){3079if('post_content'===$field){3080$value=format_to_edit($value,user_can_richedit());3081}else{
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.