• 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_update_payment_meta() – Update the meta for a payment

You appear to be a bot. Output may be restricted

Description

Update the meta for a payment

Usage

$mixed = edd_update_payment_meta( $payment_id, $meta_key, $meta_value, $prev_value );

Parameters

$payment_id
( integer ) optional – Payment ID
$meta_key
( string ) optional – Meta key to update
$meta_value
( string ) optional – Value to update to
$prev_value
( string ) optional – Previous value

Returns

mixed Meta ID if successful, false if unsuccessful

Source

File name: easy-digital-downloads/includes/payments/functions.php
Lines:

1 to 4 of 4
function edd_update_payment_meta( $payment_id = 0, $meta_key = '', $meta_value = '', $prev_value = '' ) {
  $payment = new EDD_Payment( $payment_id );
  return $payment->update_meta( $meta_key, $meta_value, $prev_value );
}
 

 View on GitHub View on Trac

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

Primary Sidebar

Information

Function name: edd_update_payment_meta
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,M,P,U

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