Posted on

WP Event Manager

Using Relevanssi with WP Event Manager requires you to adjust the search process in WP Event Manager a bit. Fortunately the plugin has good filters you can use. Just add this to your functions.php:

add_filter( 'get_event_listings_query_args', function( $args ) {
  $args['relevanssi'] = true;
  return $args;
} );

This will adjust the event listing query arguments to switch on the Relevanssi flag, causing Relevanssi to process the results. This way you’ll get the Relevanssi results in the WP Event Manager event listing search. These Relevanssi results will also be cached by the WP Event Manager query caching.

Thanks to dustyyy on WP support forums.

Leave a Reply

Are you a Relevanssi Premium customer looking for support? Please use the Premium support form.

Your email address will not be published. Required fields are marked *