Available in GF v1.6.4
Description
Use this filter modify how many entries are shown per page in the Entry List view.
Usage
<?php
add_filter("gform_entry_page_size", "my_entry_page_size", 10, 2);
?>
Parameters
- $page_size
- (integer) The number of entries to show per page.
- $form_id
- (integer) The current form ID.
Examples
This example demonstrates how to set the entry page size. Let's set it to show 40 entries per page.
<?php
add_filter("gform_entry_page_size", "my_entry_page_size");
function my_entry_page_size() {
return 40;
}
?>
Source Code
This filter is located in entry_list.php