apply_filters( "llms_{$this->model_post_type}_skip_custom_field", boolean $exclude, string $key, LLMS_Post_Model $llms_post )

Filters whether the custom field should be excluded in the array representation of the post 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

$exclude

(boolean) Whether the custom field should be excluded. Default is false.

$key

(string) The custom field name.

$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 ↑

Changelog Changelog

Changelog
Version Description
3.30.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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