apply_filters( "llms_{$this->model_post_type}_skip_custom_field", boolean $exclude , string $key , LLMS_Post_Model $llms_post )
Filters whether the custom field should be excluded in the array representation of the post model
Description Description
The dynamic portion of this hook, $this->model_post_type
, refers to the model’s post type. For example "course", "lesson", "membership", etc…
Parameters Parameters
- $exclude
-
(boolean) Whether the custom field should be excluded. Default is
false
. - $key
-
(string) The custom field name.
- $llms_post
-
(LLMS_Post_Model) The LLMS_Post_Model instance.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.30.2 | Introduced. |