WC_Admin_Setup_Wizard::get_wizard_manual_payment_gateways()publicWC 1.0

Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Simple array of "manual" gateways to show in wizard.

Method of the class: WC_Admin_Setup_Wizard{}

No Hooks.

Return

Array.

Usage

$WC_Admin_Setup_Wizard = new WC_Admin_Setup_Wizard();
$WC_Admin_Setup_Wizard->get_wizard_manual_payment_gateways();

Changelog

Deprecated since 4.6.0

WC_Admin_Setup_Wizard::get_wizard_manual_payment_gateways() code WC 8.9.0

public function get_wizard_manual_payment_gateways() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	$gateways = array(
		'cheque' => array(
			'name'        => _x( 'Check payments', 'Check payment method', 'woocommerce' ),
			'description' => __( 'A simple offline gateway that lets you accept a check as method of payment.', 'woocommerce' ),
			'image'       => '',
			'class'       => '',
		),
		'bacs'   => array(
			'name'        => __( 'Bank transfer (BACS) payments', 'woocommerce' ),
			'description' => __( 'A simple offline gateway that lets you accept BACS payment.', 'woocommerce' ),
			'image'       => '',
			'class'       => '',
		),
		'cod'    => array(
			'name'        => __( 'Cash on delivery', 'woocommerce' ),
			'description' => __( 'A simple offline gateway that lets you accept cash on delivery.', 'woocommerce' ),
			'image'       => '',
			'class'       => '',
		),
	);

	return $gateways;
}