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.
Method of the class: Cheque{}
No Hooks.
Returns
Array.
Usage
$Cheque = new Cheque(); $Cheque->get_payment_method_data();
Cheque::get_payment_method_data() Cheque::get payment method data code WC 10.6.2
public function get_payment_method_data() {
return [
'title' => $this->get_setting( 'title' ),
'description' => $this->get_setting( 'description' ),
'supports' => $this->get_supported_features(),
];
}