WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

Stripe::get_button_theme() private WC 1.0

Return the theme to use for the payment button.

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

No Hooks.

Return

String. Defaults to 'dark'.

Usage

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

Code of Stripe::get_button_theme() WC 5.0.0

<?php
private function get_button_theme() {
	return isset( $this->settings['payment_request_button_theme'] ) ? $this->settings['payment_request_button_theme'] : 'dark';
}