Skip to main content

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

NameTypeDescription
$enabledbool|nullNull 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