WordPress at a glance
filter is not described

is_protected_meta filter-hook . WP 3.2.0

Filters whether a meta key is considered protected.

Usage

add_filter( 'is_protected_meta', 'filter_function_name_7608', 10, 3 );
function filter_function_name_7608( $protected, $meta_key, $meta_type ){
	// filter...

	return $protected;
}
$protected(true/false)
Whether the key is considered protected.
$meta_key(string)
Metadata key.
$meta_type(string)
Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.

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

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

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

is_protected_meta()
is_protected_meta
wp-includes/meta.php 1174
return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );

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

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