EDD_Customer::attach_payment( int $payment_id, bool $update_stats = true )

Attach payment to the customer then triggers increasing stats


Description Description


Parameters Parameters

$payment_id

(Required) The payment ID to attach to the customer

$update_stats

(Optional) For backwards compatibility, if we should increase the stats or not

Default value: true


Top ↑

Return Return

(bool) If the attachment was successfuly


Top ↑

Source Source

File: includes/class-edd-customer.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.