Change default setting from "all entries will be exported" to "last 100 entries"?

Is it possible to change default setting from " if no date range is selected all entries will be exported to “if no date range is selected , the last 100 entries will be exported”?

Thanks! :slight_smile:

There is no built in support for that, but there are some export-related filters which may be useful. They’re all in the sidebar or can be found here:

Maybe this one?

*update - didn’t work :frowning:

Here is my attempt:

add_filter( ‘gform_leads_before_export’, ‘limit_last_100_for_export’, 10, 3 );
function limit_last_100_for_export( $entries, $form, $paging ) {

foreach( $entries as &$entry ) {
     $page_size = 100; 

return $entries;


A developer just told me this was not possible …