Check payment confirmation or replace it based on the order object passed. If an array is returned, parse order data.
/** * Check payment confirmation and parse order data. * * @param array|bool $pmpro_confirmed Payment information data as an array or bool is payment confirmation is successful. * @param MemberOrder $morder Order information object. * * @return array|bool Array if the MemberOrder parameter must be parsed, otherwise true or false if payment is confirmed. */ apply_filters( 'pmpro_checkout_confirmed', $pmpro_confirmed, $morder ); |
Parameters
- $pmpro_confirmed
- array|bool
- $morder
- MembershipOrder
Return Value
@pmpro_confirmed
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/preheaders/checkout.php
View in Source Code