Open joedawson opened 7 months ago
When using the edd_process_verified_download action, I expect this to occur once during download.
edd_process_verified_download
When hooking into this, it triggers my callback twice.
1) Add the following to theme
add_action( 'edd_process_verified_download', function( $download_id, $email ) { // Send information to marketing platform, track to custom report, anything... }, 10, 2 );
2) Place a download order 3) Download from the order 4) Callback is triggered twice.
PHP Version: 8.1 EDD Version (or branch): 3.2.5 WordPress Version: 6.4.1
Is this intended? If so, is there another action I should be using that occurs once during download?
Bug Report
Expected behavior
When using the
edd_process_verified_download
action, I expect this to occur once during download.Actual behavior
When hooking into this, it triggers my callback twice.
Steps to reproduce the behavior
1) Add the following to theme
2) Place a download order 3) Download from the order 4) Callback is triggered twice.
Information (if a specific version is affected):
PHP Version: 8.1 EDD Version (or branch): 3.2.5 WordPress Version: 6.4.1
Is this intended? If so, is there another action I should be using that occurs once during download?