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>
3118*-`pre_post_comment_count`3119*3120* @since 2.3.03121*3122* @param mixed$value Value of the post field.3123*/3124$value=apply_filters("pre_post_{$field}",$value);31253126/**3127* Filters the value of a specific post field before saving.3128*3129* Only applied to post fields with a name which is *not* prefixed with `post_`.3130*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.