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 represantation 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
-
Whether the custom field should be excluded. Default is
false
. - $key
-
The custom field name.
- $llms_post
-
The LLMS_Post_Model instance.
Source Source
File: includes/abstracts/abstract.llms.post.model.php
Changelog Changelog
Version | Description |
---|---|
3.30.2 | Introduced. |