Hi David!
Thanks for reaching out to us! Let me help you with that
We don’t recommend you edit any of the plugin files to make changes, because those changes will be overwritten when you update the plugin.
Try placing the following code snippet into your theme’s functions.php file. It will hide the RSVP option from the edit event admin view:
/* Tribe, remove RSVP tickets option from event page in the admin */function tribe_remove_rsvp() {
// check if it's a Tribe admin page
$screen = get_current_screen();
if( !isset($screen->id) || $screen->id != Tribe__Events__Main::POSTTYPE ) return;
// switch default provider and hide RSVP ?>
<script type="text/javascript">
jQuery(document).ready(function($){
if ( $('input.ticket_field[value="Tribe__Tickets_Plus__Commerce__WooCommerce__Main"]').length ) {
$('input.ticket_field[value="Tribe__Tickets_Plus__Commerce__WooCommerce__Main"]').click(); $('input.ticket_field[value="Tribe__Tickets__RSVP"]').hide().next().hide(); }
});
</script>
<?php }
add_action('admin_head', 'tribe_remove_rsvp');
Let me know if that works for you.
Best,
Victor