pre_post_{$field}

pre_post_{$field}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_post_{$field}') is found 1 times:

  • /wp-includes/post.php line 3075
    3071
    3072
    3073
    3074
    3075
    3076
    3077
    3078
    3079
    3080
    3081
    * @since 2.3.0
     *
     * @param mixed $value Value of the post field.
     */
    $value = apply_filters( "pre_post_{$field}", $value );
     
    /**
     * Filters the value of a specific post field before saving.
     *
     * Only applied to post fields with a name which is *not* prefixed with `post_`.
     *