WC_Admin_Setup_Wizard::get_wizard_manual_payment_gateways()
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() WC Admin Setup Wizard::get wizard manual payment gateways code WC 9.7.1
public function get_wizard_manual_payment_gateways() { _deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' ); $gateways = array( WC_Gateway_Cheque::ID => 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' => '', ), WC_Gateway_BACS::ID => array( 'name' => __( 'Bank transfer (BACS) payments', 'woocommerce' ), 'description' => __( 'A simple offline gateway that lets you accept BACS payment.', 'woocommerce' ), 'image' => '', 'class' => '', ), WC_Gateway_COD::ID => array( 'name' => __( 'Cash on delivery', 'woocommerce' ), 'description' => __( 'A simple offline gateway that lets you accept cash on delivery.', 'woocommerce' ), 'image' => '', 'class' => '', ), ); return $gateways; }