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>
2973*2974* @since 2.3.02975*2976* @param mixed$value Value of the post field.2977* @param int$post_id Post ID.2978*/2979$value=apply_filters("edit_post_{$field}",$value,$post_id);2980}29812982if(in_array($field,$format_to_edit,true)){2983if('post_content'===$field){2984$value=format_to_edit($value,user_can_richedit());2985}else{
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.