WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

Stripe::get_button_locale() private WC 1.0

Return the locale for the payment button.

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

Return

String. Defaults to en_US.

Usage

// private - for code of main (parent) class only
$result = $this->get_button_locale();

Code of Stripe::get_button_locale() WC 5.6.0

private function get_button_locale() {
	return apply_filters( 'wc_stripe_payment_request_button_locale', substr( get_locale(), 0, 2 ) );
}