Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders

PseudoWCPaymentGateway::get_recommended_payment_methodspublicWC 1.0

Get the recommended payment methods list.

Метод класса: PseudoWCPaymentGateway{}

Хуков нет.

Возвращает

Массив. List of recommended payment methods for the given country.

Использование

$PseudoWCPaymentGateway = new PseudoWCPaymentGateway();
$PseudoWCPaymentGateway->get_recommended_payment_methods( $country_code ): array;
$country_code(строка)
The business location country code.
По умолчанию: ''

Код PseudoWCPaymentGateway::get_recommended_payment_methods() WC 10.9.1

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