Automattic\WooCommerce\Blocks\Payments\Integrations
Cheque::get_payment_method_data
Returns an array of key=>value pairs of data made available to the payment methods script.
Метод класса: Cheque{}
Хуков нет.
Возвращает
array.
Использование
$Cheque = new Cheque(); $Cheque->get_payment_method_data();
Код Cheque::get_payment_method_data() Cheque::get payment method data WC 11.3.0
public function get_payment_method_data() {
return [
'title' => $this->get_setting( 'title' ),
'description' => $this->get_setting( 'description' ),
'enableForVirtual' => $this->get_enable_for_virtual(),
'enableForShippingMethods' => $this->get_enable_for_methods(),
'supports' => $this->get_supported_features(),
];
}