Filter to allow you to specify whether users completing checkout with PayPal can optionally set up payment without a PayPal account (only available for specific PayPal gateways and one-time payments).
apply_filters( 'pmpro_paypal_account_optional', bool $account_optional )
Parameters
- $account_optional
- bool; Set to true or false