Automattic\WooCommerce\Blocks\Payments\Integrations

BankTransfer::get_payment_method_data()publicWC 1.0

Returns an array of key=>value pairs of data made available to the payment methods script.

Метод класса: BankTransfer{}

Хуков нет.

Возвращает

Массив.

Использование

$BankTransfer = new BankTransfer();
$BankTransfer->get_payment_method_data();

Код BankTransfer::get_payment_method_data() WC 9.4.2

public function get_payment_method_data() {
	return [
		'title'       => $this->get_setting( 'title' ),
		'description' => $this->get_setting( 'description' ),
		'supports'    => $this->get_supported_features(),
	];
}