rpress_is_guest_payment

Author: RestroPress 1 views

This filter is applied to use the payment provided associated with a user account, it is including two parameters.
$payment_id -> is containing payment id.
$is_guest_payment -> is a boolean.

function guest_payment($is_guest_payment,$payment_id) {
//its check is a gust payment or not.
return $is_guest_payment;
}
add_filter( 'rpress_is_guest_payment', 'guest_payment' );