Can I delete bulk RSVP's from an event once archived or do they need to be individually deleted

I am wanting to re-use an archived event, however, the RSVP's from the previous event still remain after the event is closed and archived.

Can I delete all the RSVP's from an event (once it has finished) in a bulk action or do I need to individually delete them.

  • Vinod Dalvi

    Hi Jenny,

    I hope you are well today and thank you for your question.

    Currently you have to delete RSVP's from an event individually.

    I will move this over to the features & feedback section. This way it can be considered for future development, and we can also see what other community members think about the feature request.

    In the meanwhile to delete all RSVPs from certain event just use the following code in the functions.php file of your theme and remove this added code after deleting all RSVPs.

    global $wpdb;
    $event_id = 358; // Enter event ID here from where you want to delete all RSVPs
    $wpdb->delete( Eab_EventsHub::tablename(Eab_EventsHub::BOOKING_TABLE), array( 'event_id' => $event_id ) );

    Kind Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.