The following code was being used in a query in our theme by developers. I found only one event was found. I removed the limit argument and now all the events show. How is limit used, or is it at all? Should I expect all events in the month without the use of limit? I tried finding docs on the function, please send a link to EE function docs if out there somewhere.
Another note about this, it was on our staging server running Version 5.0.31.p. The same code exists on our live server running 5.0.21p where all events ARE showing with the limit argument as is. Was there any kind of change that affects this? Want to be sure it is a change I should make.
I can reproduce this; it’s by sanitizing the arguments passed.
I’ve created a ticket for our developers to investigate this further and see what we can do.
Viewing 2 reply threads
The support post ‘Using limit in espresso_get_events’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.