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>
3069*-`pre_post_comment_count`3070*3071* @since 2.3.03072*3073* @param mixed$value Value of the post field.3074*/3075$value=apply_filters("pre_post_{$field}",$value);30763077/**3078* Filters the value of a specific post field before saving.3079*3080* Only applied to post fields with a name which is *not* prefixed with `post_`.3081*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.