learndash_is_protected_meta( boolean $protected = false, string $meta_key = '', string $meta_type = '' )
Prevents Custom Fields meta box from showing/saving LD keys.
Description Description
Fires on is_protected_meta
hook.
Parameters Parameters
- $protected
-
(Optional) Whether to protect the meta.
Default value: false
- $meta_key
-
(Optional) Meta key to check.
Default value: ''
- $meta_type
-
(Optional) The type of the meta.
Default value: ''
Return Return
(boolean) Returns true if the meta is protected otherwise false.
Source Source
File: includes/ld-misc-functions.php
Changelog Changelog
Version | Description |
---|---|
3.0.4 | Introduced. |