Automattic\WooCommerce\Admin\API

Features::get_features()publicWC 1.0

Return available payment methods.

Method of the class: Features{}

No Hooks.

Return

\WP_Error|\WP_REST_Response.

Usage

$Features = new Features();
$Features->get_features( $request );
$request(\WP_REST_Request) (required)
Request data.

Features::get_features() code WC 7.3.0

public function get_features( $request ) {
	return FeaturesClass::get_available_features();
}