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

sanitize_(object_type)_meta_(meta_key)_for_(object_subtype) хук-фильтр . WP 4.9.8

Filters the sanitization of a specific meta key of a specific meta type and subtype.

The dynamic portions of the hook name, $object_type, $meta_key, and $object_subtype, refer to the metadata object type (comment, post, term, or user), the meta key value, and the object subtype respectively.

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

add_filter( 'sanitize_(object_type)_meta_(meta_key)_for_(object_subtype)', 'filter_function_name_6634', 10, 4 );
function filter_function_name_6634( $meta_value, $meta_key, $object_type, $object_subtype ){
	// filter...

	return $meta_value;
}
$meta_value(смешанный)
Meta value to sanitize.
$meta_key(строка)
Meta key.
$object_type(строка)
Object type.
$object_subtype(строка)
Object subtype.

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

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

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

sanitize_meta()
sanitize_(object_type)_meta_(meta_key)_for_(object_subtype)
wp-includes/meta.php 1078
return apply_filters( "sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}", $meta_value, $meta_key, $object_type, $object_subtype );

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

wp-includes/meta.php 1197
add_filter( "sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}", $args['sanitize_callback'], 10, 4 );
wp-includes/meta.php 1264
remove_filter( "sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}", $args['sanitize_callback'] );