WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\API

OnboardingPayments::get_suggestions() public WC 1.0

Return available payment gateway suggestions.

{} It's a method of the class: OnboardingPayments{}

No Hooks.

Return

\WP_Error|\WP_REST_Response.

Usage

$OnboardingPayments = new OnboardingPayments();
$OnboardingPayments->get_suggestions( $request );
$request(\WP_REST_Request) (required)
Request data.

Code of OnboardingPayments::get_suggestions() WC 6.1.1

public function get_suggestions( $request ) {
	return PaymentGatewaySuggestions::get_suggestions();
}