is_protected_meta

Advertisement

Summery Summery

Determines whether a meta key is considered protected.

Syntax Syntax

is_protected_meta( string $meta_key, string $meta_type = '' )

Parameters Parameters

$meta_key

(string) (Required) Metadata key.

$meta_type

(string) (Optional) Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.

Default value: ''

Return Return

(bool) Whether the meta key is considered protected.

Source Source

File: wp-includes/meta.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.3 Introduced.

Advertisement

Leave a Reply

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