Skip to content

Instantly share code, notes, and snippets.

@andrasguseo
Created October 17, 2025 22:01
Show Gist options
  • Save andrasguseo/8fc1bf4b24887225aec6365555652c84 to your computer and use it in GitHub Desktop.
Save andrasguseo/8fc1bf4b24887225aec6365555652c84 to your computer and use it in GitHub Desktop.
Test 9
<?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