Automattic\WooCommerce\Blocks\Payments\Integrations
Stripe::get_button_type() private WC 1.0
Return the button type for the payment button.
{} Это метод класса: Stripe{}
Хуков нет.
Возвращает
Строку
. Defaults to 'default'.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_button_type();
Код Stripe::get_button_type() Stripe::get button type WC 5.1.0
private function get_button_type() {
return isset( $this->settings['payment_request_button_type'] ) ? $this->settings['payment_request_button_type'] : 'default';
}