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