Created
October 21, 2022 21:13
-
-
Save alexwcoleman/3d161561a95059a897eb81b53951e50f to your computer and use it in GitHub Desktop.
GiveWP: More donors in the Donor List at Donation >> Donors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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