Skip to content

Instantly share code, notes, and snippets.

@alexwcoleman
Created October 21, 2022 21:13
Show Gist options
  • Save alexwcoleman/3d161561a95059a897eb81b53951e50f to your computer and use it in GitHub Desktop.
Save alexwcoleman/3d161561a95059a897eb81b53951e50f to your computer and use it in GitHub Desktop.
GiveWP: More donors in the Donor List at Donation >> Donors
<?php
/*
* Customize the number of Donations listed in the Donations screen
*
*/
add_filter('give_donor_table_query', 'custom_donation_list_num', 30, 1);
function custom_donation_list_num($args = array()) {
$updated_args = array(
'number' => 60, // Default is 30
);
return array_merge( $args, $updated_args );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment