wp_woocommerce_update_payment_gateway
Enable, disable, or configure WooCommerce payment gateways by updating title, description, and gateway-specific options.
Instructions
Enable/disable or configure a WooCommerce payment gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gateway ID (e.g. "bacs", "cheque", "cod", "paypal", "stripe") | |
| title | No | Customer-facing title | |
| enabled | No | Enable or disable the gateway | |
| options | No | Additional gateway-specific options | |
| description | No | Customer-facing description |