LLMS_Site::get_features()
Get a list of automated features
Description Description
These features are features that should be disabled in testing or staging environments.
Return Return
(array) An associative array of site features.
Source Source
File: includes/class.llms.site.php
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | public static function get_features() { /** * Filters the default values for LLMS_Site features * * @since 3.0.0 * * @param array $defaults An associative array of site features. */ $defaults = apply_filters( 'llms_site_default_features' , array ( 'recurring_payments' => true, ) ); return get_option( 'llms_site_get_features' , $defaults ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |