Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders
PseudoWCPaymentGateway::get_recommended_payment_methods
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() PseudoWCPaymentGateway::get recommended payment methods WC 10.9.1
public function get_recommended_payment_methods( string $country_code = '' ): array {
return $this->recommended_payment_methods;
}