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>
3129*3130* @since 2.3.03131*3132* @param mixed$value Value of the post field.3133* @param int$post_id Post ID.3134*/3135$value=apply_filters("edit_post_{$field}",$value,$post_id);3136}31373138if(in_array($field,$format_to_edit,true)){3139if('post_content'===$field){3140$value=format_to_edit($value,user_can_richedit());3141}else{
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.