Automattic\WooCommerce\Admin\API

OnboardingFreeExtensions::get_available_extensions()publicWC 1.0

Return available payment methods.

Method of the class: OnboardingFreeExtensions{}

No Hooks.

Return

\WP_Error|\WP_REST_Response.

Usage

$OnboardingFreeExtensions = new OnboardingFreeExtensions();
$OnboardingFreeExtensions->get_available_extensions( $request );
$request(\WP_REST_Request) (required)
Request data.

OnboardingFreeExtensions::get_available_extensions() code WC 7.3.0

public function get_available_extensions( $request ) {
	return RemoteFreeExtensions::get_extensions();
}