WordPress at Your Fingertips
filter is not described

(field_no_prefix)_save_pre filter-hook . WP 2.3.0

Filters the value of a specific field before saving.

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

Usage

add_filter( '(field_no_prefix)_save_pre', 'filter_function_name_4032' );
function filter_function_name_4032( $value ){
	// filter...

	return $value;
}
$value(mixed)
Value of the post field.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

sanitize_post_field()
(field_no_prefix)_save_pre
wp-includes/post.php 2644
$value = apply_filters( "{$field_no_prefix}_save_pre", $value );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 292
add_filter( 'title_save_pre', 'trim' );
wp-includes/kses.php 2089
add_filter( 'title_save_pre', 'wp_filter_kses' );
wp-includes/kses.php 2099
add_filter( 'content_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2100
add_filter( 'excerpt_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2101
add_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2118
remove_filter( 'title_save_pre', 'wp_filter_kses' );
wp-includes/kses.php 2125
remove_filter( 'content_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2126
remove_filter( 'excerpt_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2127
remove_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );