Exclude past events from search results

To exclude (The Events Calendar) past events from the default WordPress search, simply add the following snippet to your functions.php

Powered by BetterDocs


Subscribe and stay connected through our Newsletter. We send out important news, tips and special offers.

  • This field is for validation purposes and should be left unchanged.