WordPress at Your Fingertips
function is not described

WooCommerce::payment_gateways() public WC 1.0

Get gateways class.

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

No Hooks.

Return

WC_Payment_Gateways.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->payment_gateways();

Code of WooCommerce::payment_gateways() WC 5.7.1

public function payment_gateways() {
	return WC_Payment_Gateways::instance();
}