Automattic\WooCommerce\Internal\Admin\Settings\PaymentProviders

PseudoWCPaymentGateway::get_recommended_payment_methodspublicWC 1.0

Get the recommended payment methods list.

Method of the class: PseudoWCPaymentGateway{}

No Hooks.

Returns

Array. List of recommended payment methods for the given country.

Usage

$PseudoWCPaymentGateway = new PseudoWCPaymentGateway();
$PseudoWCPaymentGateway->get_recommended_payment_methods( $country_code ): array;
$country_code(string)
The business location country code.
Default: ''

PseudoWCPaymentGateway::get_recommended_payment_methods() code WC 9.9.4

public function get_recommended_payment_methods( string $country_code = '' ): array {
	return $this->recommended_payment_methods;
}