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: ''


Top ↑

Return Return

(boolean) Returns true if the meta is protected otherwise false.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.