LLMS_Site::get_feature( string $feature )

Get a single feature’s status


Description Description

Checks for a feature constant first and, if none is defined, uses the stored site setting (with a fallback to the default value), and a final fallback to false if the feature cannot be found.


Parameters Parameters

$feature

(Required) Feature id/key.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class.llms.site.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.12.0 Allow feature configuration via constants.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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