Skip to content

Instantly share code, notes, and snippets.

@andrasguseo
Created October 14, 2025 09:46
Show Gist options
  • Save andrasguseo/df633514a02a1a75a2c3673ebb9bc6ec to your computer and use it in GitHub Desktop.
Save andrasguseo/df633514a02a1a75a2c3673ebb9bc6ec to your computer and use it in GitHub Desktop.
Test 7
<?php
/**
* Block: RSVP
* Field: Form Email
*
* This is a template override that will lock the 'email' field with the email of the user who is logged in,
* if the "Tickets > Settings > General > Require users to log in before they RSVP" is enabled.
* If the setting is disabled, the field content can be changed.
*
* Plugins required: The Events Calendar, Event Tickets
*
* Tags: email, attendee registration
*
* @version 5.0.0
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment