Automattic\WooCommerce\Blocks\Payments\Integrations
BankTransfer::get_payment_method_data()
Returns an array of key=>value pairs of data made available to the payment methods script.
Method of the class: BankTransfer{}
No Hooks.
Return
Array
.
Usage
$BankTransfer = new BankTransfer(); $BankTransfer->get_payment_method_data();
BankTransfer::get_payment_method_data() BankTransfer::get payment method data code WC 8.7.0
public function get_payment_method_data() { return [ 'title' => $this->get_setting( 'title' ), 'description' => $this->get_setting( 'description' ), 'supports' => $this->get_supported_features(), ]; }