• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / edd_is_guest_payment() – Is the payment provided associated with a user account

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 );
}
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 23rd February 2021

Primary Sidebar

Information

Function name: edd_is_guest_payment
Plugin ref: Easy Digital Downloads
Version: 2.11.6
Sourcefile: includes/payments/functions.php
File ref: includes/payments/functions.php
Deprecated?: No
API Letters: E,G,I,P

Footer

Easy Digital Downloads a2z
Easy Digital Downloads a2z
Easy Digital Downloads a2z
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  edd.wp-a2z.org
© Copyright Easy Digital Downloads a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites