apply_filters( "llms_{$this->model_post_type}_to_array_add_extras", boolean $include , LLMS_Post_Model $model )
Filter whether or not “extra” content should be included in the post array
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
- $include
-
(boolean) Whether or not to include extra data.
- $model
-
(LLMS_Post_Model) Post model instance.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |