This action runs just after a log entry is recorded. do_action( ‘edd_post_insert_log’, $log_id, $log_data, $log_meta );
This action runs just after a log entry is updated. do_action( ‘edd_post_update_log’, $log_id, $log_data, $log_meta );
This action runs after a discount code is created. It receives two parameters: `$discount_details` and `$discount_id`. $discount_details is an array containing all fields for the discount, such as name, type, amount, etc. do_action( ‘edd_post_insert_discount’, $discount_details, $discount_id );
You can easily change the labels of the Downloads post type by placing a simple function in your theme’s functions.php, or any custom plugin. You might, for example, want to change “Downloads” to “Music”, or perhaps to “Products”. The example below changes Download(s) to Product(s):
The Downloads Post Type Archive uses the default archive template built into the active theme. In order for a custom archive to exist the active theme must support EDD by having a custom archive template.
Selling music with EDD is awesome. At the beginning of this year, I decided to start up a passive-income side hustle by selling my own original music for content creators to use in their projects. I looked around at different marketplaces I could sell with but ultimately decided I wanted to have full control over