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>
3167*-`pre_post_comment_count`3168*3169* @since 2.3.03170*3171* @param mixed$value Value of the post field.3172*/3173$value=apply_filters("pre_post_{$field}",$value);31743175/**3176* Filters the value of a specific post field before saving.3177*3178* Only applied to post fields with a name which is *not* prefixed with `post_`.3179*
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.