Ok, I created this function and put it in my functions.php file:
function soa_event_filter( $event ) {
if( !is_user_logged_in() && $_REQUEST['event_id']<>'' ) {
$event = the_title('<h3>- ','</h3>');
$event .= "<h4>Become a Member so you can book this Event!</h4>";
}
return $event;
}
add_filter( 'eme_event_filter', 'soa_event_filter' );
Unfortunately, it breaks the page where the Tag is called. But if I substitute ‘the_content’ for ’eme_event_filter’ in the add_filter function, it works.
So, not sure what’s going on, but seems like it may be some kind of syntax errors I’m making.