You appear to be a bot. Output may be restricted
Description
Is the payment provided associated with a user account
Usage
$bool = edd_is_guest_payment( $payment_id );
Parameters
- $payment_id
- ( int ) required – The payment ID
Returns
bool If the payment is associated with a user (false) or not (true)
Source
File name: easy-digital-downloads/includes/payments/functions.php
Lines:
1 to 6 of 6
function edd_is_guest_payment( $payment_id ) { $payment_user_id = edd_get_payment_user_id( $payment_id ); $is_guest_payment = ! empty( $payment_user_id ) && $payment_user_id > 0 ? false : true; return (bool) apply_filters( 'edd_is_guest_payment', $is_guest_payment, $payment_id ); }