corsonr
12/3/2013 - 9:00 AM

woocommerce custom core gateways call

woocommerce custom core gateways call

/**
 * core_gateways function modified.
 *
 * @access public
 * @param mixed $methods
 * @return void
 */
function my_core_gateways( $methods ) {
	$methods[] = 'WC_Gateway_BACS_custom';
	$methods[] = 'WC_Gateway_Cheque';
	$methods[] = 'WC_Gateway_COD';
	$methods[] = 'WC_Gateway_Mijireh';
	$methods[] = 'WC_Gateway_Paypal';
	return $methods;
}