The gateway which should be used when performing a checkout action.
/** * Return which gateway should be used. * * @since 1.8.0 * * @see pmpro_getGateway * * @param bool|string The gateway that should be used. * @param array List of valid gateways. See filter: pmpro_valid_gateways * * @param bool|string The gateway that should be used. */ $gateway = apply_filters( 'pmpro_get_gateway', $gateway, $valid_gateways ); |
Parameters
- $gateway
- bool|string
- $valid_gateways
- array
Return Value
$gateway
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php
View in Source Code