Filters the value of a specific field before saving.
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>pre_post_ID</li> <li>pre_post_comment_status</li> <li>pre_post_ping_status</li> <li>pre_post_to_ping</li> <li>pre_post_pinged</li> <li>pre_post_guid</li> <li>pre_post_menu_order</li> <li>pre_post_comment_count</li> </ul>
3165*-`pre_post_comment_count`3166*3167* @since 2.3.03168*3169* @param mixed$value Value of the post field.3170*/3171$value=apply_filters("pre_post_{$field}",$value);31723173/**3174* Filters the value of a specific post field before saving.3175*3176* Only applied to post fields with a name which is *not* prefixed with `post_`.3177*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.