(field_no_prefix)_edit_pre filter-hookWP 2.3.0

Filters the value of a specific post field to edit.

The dynamic portion of the hook name, $field_no_prefix, refers to the post field name.


add_filter( '(field_no_prefix)_edit_pre', 'wp_kama_field_no_prefix_edit_pre_filter', 10, 2 );

 * Function for `(field_no_prefix)_edit_pre` filter-hook.
 * @param mixed $value   Value of the post field.
 * @param int   $post_id Post ID.
 * @return mixed
function wp_kama_field_no_prefix_edit_pre_filter( $value, $post_id ){

	// filter...
	return $value;
Value of the post field.
Post ID.


Since 2.3.0 Introduced.

Where the hook is called

wp-includes/post.php 2899
$value = apply_filters( "{$field_no_prefix}_edit_pre", $value, $post_id );

Where the hook is used in WordPress

Usage not found.