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>
3225*-`pre_post_comment_count`3226*3227* @since 2.3.03228*3229* @param mixed$value Value of the post field.3230*/3231$value=apply_filters("pre_post_{$field}",$value);32323233/**3234* Filters the value of a specific post field before saving.3235*3236* Only applied to post fields with a name which is *not* prefixed with `post_`.3237*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.