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…

Top ↑

Parameters Parameters


(array) Associative array of the model.


(LLMS_Post_Model) Post model instance.

Top ↑

Source Source

File: includes/abstracts/

View on GitHub

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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