Skip to content

Instantly share code, notes, and snippets.

View d4mation's full-sized avatar
😏
GitHub is a social network now

Eric Defore d4mation

😏
GitHub is a social network now
View GitHub Profile
@d4mation
d4mation / eddar-auto-populate.js
Created November 1, 2022 18:50
Populate EDD Advanced Reporting with data for every Download
// Just run this in the console and you're good to go
var firstOption = true;
jQuery( 'select[name="edd_report_series[0][download]"] option' ).each( function( index, option ) {
if ( jQuery( option ).val() == 0 || jQuery( option ).val() == 'all' ) return true;
if ( firstOption ) {