WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Купить персональные IPV4 и IPV6 прокси
фильтр не описан

(field)_pre хук-фильтр . WP 2.3.0

Filters the value of a specific post field before saving.

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

Использование

add_filter( '(field)_pre', 'filter_function_name_1846' );
function filter_function_name_1846( $value ){
	// filter...

	return $value;
}
$value(смешанный)
Value of the post field.

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

sanitize_post_field()
(field)_pre
wp-includes/post.php 2376
$value = apply_filters( "{$field}_pre", $value );

Где используется хук (в ядре WP)

wp-includes/default-filters.php 263
add_filter( 'title_save_pre', 'trim' );
wp-includes/kses.php 1978
add_filter( 'title_save_pre', 'wp_filter_kses' );
wp-includes/kses.php 1988
add_filter( 'content_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 1989
add_filter( 'excerpt_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 1990
add_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2007
remove_filter( 'title_save_pre', 'wp_filter_kses' );
wp-includes/kses.php 2014
remove_filter( 'content_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2015
remove_filter( 'excerpt_save_pre', 'wp_filter_post_kses' );
wp-includes/kses.php 2016
remove_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' );