Code snippets for the Events Manager plugin for WordPress