is_protected_meta

Advertisement

Summery Summery

Filters whether a meta key is considered protected.

Syntax Syntax

apply_filters( 'is_protected_meta', bool $protected, string $meta_key, string $meta_type )

Parameters Parameters

$protected

(bool) 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.

Source Source

File: wp-includes/meta.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.