beans_get_component_support

Gets the API component support argument(s).

beans_get_component_support( string $feature )

Return: (mixed) The argument(s) passed.

Parameters

NameTypeRequiredDefaultDescription
$featurestringtrue-The feature to check.

Source

function beans_get_component_support( $feature ) {

	global $_beans_api_components_support;

	if ( ! isset( $_beans_api_components_support[ $feature ] ) ) {
		return false;
	}

	return $_beans_api_components_support[ $feature ];

}