pre_post_{$field}

pre_post_{$field}

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

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

  • /wp-includes/post.php line 2872
    			 * @param mixed $value Value of the post field.
    			 */
    			$value = apply_filters( "{$field_no_prefix}_save_pre", $value );
    		} else {
    			$value = apply_filters( "pre_post_{$field}", $value );
    
    			/**
    			 * Filters the value of a specific post field before saving.
    			 *
    			 * The dynamic portion of the hook name, `$field`, refers to the post
    			 * field name.