Filter: wu_paypal_oauth_enabled
Filters whether the PayPal OAuth Connect feature is enabled.
Return a non-null value to override the constant, transient, and proxy probe. Used by tests and by addons that need to force-toggle the flow without mutating wp-config.php.
Parameters
| Name | Type | Description |
|---|---|---|
| $enabled | bool|null | Null to defer to lower-priority sources, bool to override. |
Since
- 2.0.0
Source
Defined in inc/gateways/class-paypal-oauth-handler.php at line 548