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>
3071*3072* @since 2.3.03073*3074* @param mixed$value Value of the post field.3075* @param int$post_id Post ID.3076*/3077$value=apply_filters("edit_post_{$field}",$value,$post_id);3078}30793080if(in_array($field,$format_to_edit,true)){3081if('post_content'===$field){3082$value=format_to_edit($value,user_can_richedit());3083}else{
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.