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…


Top ↑

Parameters Parameters

$include

(boolean) Whether or not to include extra data.

$model

(LLMS_Post_Model) Post model instance.


Top ↑

Source Source

File: includes/abstracts/abstract.llms.post.model.php

View on GitHub


Top ↑

Changelog 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.