apply_filters( "llms_{$this->model_post_type}_to_array", array $arr , LLMS_Post_Model $model )
Filter the final post array created when converting the object to an 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
- $arr
-
(array) Associative array of the model.
- $model
-
(LLMS_Post_Model) Post model instance.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |