On this page
apply_filters( 'is_protected_meta', bool $protected, string $meta_key, string $meta_type )
Filters whether a meta key is considered protected.
Parameters
$protectedbool-
Whether the key is considered protected.
$meta_keystring-
Metadata key.
$meta_typestring-
Type of object metadata is for. Accepts
'post','comment','term','user', or any other object type with an associated meta table.
Source
File: wp-includes/meta.php. View all references
return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );
Related
Used By
| Used By | Description |
|---|---|
| is_protected_meta() wp-includes/meta.php | Determines whether a meta key is considered protected. |
Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_protected_meta