apply_filters( "llms_get_{$this->model_post_type}_excluded_to_array_properties", string[] $excluded, string[] $all_props, LLMS_Post_Model $llms_post )

Filters the properties which will excluded form the array representation of the 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…


Top ↑

Parameters Parameters

$excluded

(string[]) Array of property names.

$all_props

(string[]) The full property list without the applied exclusions.

$llms_post

(LLMS_Post_Model) The LLMS_Post_Model instance.


Top ↑

Source Source

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

View on GitHub


Top ↑

User Contributed Notes User Contributed Notes

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