This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
By default, you can load up to 1,000 modals on a page using AJAX pagination. To modify this limit, use this hook to increase or decrease the number as needed.
Parameters
- None
Examples
Increase modal limit on a page
add_filter( 'frm_max_modal_offset', function() { return 5000; } ); // Increase limit
Decrease modal limit on a page
add_filter( 'frm_max_modal_offset', function() { return 100; } ); // Decrease limit