Skip to content

Instantly share code, notes, and snippets.

@jasontucker
Created June 28, 2016 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasontucker/c791e378dfdf40765e53036bbb7b4866 to your computer and use it in GitHub Desktop.
Save jasontucker/c791e378dfdf40765e53036bbb7b4866 to your computer and use it in GitHub Desktop.
// Event Espresso plugin for WordPress
// includes/event-management/queries
// For some reason Event Espress limits the queries of all of it's
// queries to 50 when you have over 100 events 50 isnt going to cut it.
// $max_rows = isset($_REQUEST['max_rows']) & !empty($_REQUEST['max_rows']) ? absint($_REQUEST['max_rows']) : 50;
// to
$max_rows = isset($_REQUEST['max_rows']) & !empty($_REQUEST['max_rows']) ? absint($_REQUEST['max_rows']) : 10000;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment