Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Api::is_payment_gateway_enabled( object $gateway )
Returns true if the payment gateway is enabled.
Description Description
Parameters Parameters
- $gateway
-
(Required) Payment gateway.
Return Return
(boolean)
Source Source
File: packages/woocommerce-blocks/src/Payments/Api.php