easy-digital-downloads
easy-digital-downloads copied to clipboard
edd_process_verified_download callback called twice?
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
- 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 );
- Place a download order
- Download from the order
- 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?