WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

Cheque::get_payment_method_data() public WC 1.0

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

{} It's a method of the class: Cheque{}

No Hooks.

Return

Array.

Usage

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

Code of Cheque::get_payment_method_data() WC 5.6.0

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