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.


Top ↑

Return Return

(array) An associative array of site features.


Top ↑

Source Source

File: includes/class.llms.site.php

	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 );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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