WC_Payment_Gateways::get_payment_gateway_ids()
Get array of registered gateway ids
Description Description
Return Return
(array) of strings
Source Source
File: includes/class-wc-payment-gateways.php
public function get_payment_gateway_ids() { return wp_list_pluck( $this->payment_gateways, 'id' ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |