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.


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

	return $protected;
Whether the key is considered protected.
Metadata key.
Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.

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

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

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

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

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

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