Hi guys,
I want to show the attendees list within the body of the event so I use <?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ?> to do it. However, it is always follow by RSVT and WooCommerce tickets. How can I separe tickets from Attendees list please?
This is my code:
single-event.php
div class="infos">
<div class="inner">
<div class="content">
À propos de cet évènement
<?php the_content(); ?>
<div class="participants">
Participants
<?php do_action( 'tribe_events_single_event_after_the_meta' ) ?>
<?php //DISPLAY CLIENT INSCRIT
$participants = $wpdb->get_results("
This is what I’m getting:
Error