Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Removing user ability to cancel registration for events | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Removing user ability to cancel registration for events

Removing user ability to cancel registration for events

Posted: March 24, 2014 at 3:52 pm

Viewing 4 reply threads


Jason Lee

March 24, 2014 at 3:52 pm

I don’t want users to be able to cancel their reservations. Using EE3 and s2member integration. I saw in another post to delete a few lines of code from the plugin but when I open the editor, those lines aren’t there so I’m assuming I might be looking in the wrong place/wrong plugin.


Dean

  • Support Staff

March 25, 2014 at 12:42 am

Hi,

On line 191 of the espresso-members/my_events_page.php file you will find the following line

<input name="cancel_registration" type="submit" class="button-secondary" id="cancel_registration" value="<?php _e('Cancel Registration','event_espresso'); ?>" onclick="return confirmDelete();">

Remove it and the cancel button will be removed.

Please note, updates to the WP User Integration addon will over write this change.


Jason Lee

March 30, 2014 at 7:31 pm

Worked perfectly, thanks. Will it be roughly the same line of code after each update?


Lorenzo Orlando Caum

  • Support Staff

March 30, 2014 at 8:21 pm

Hi Jason,

Yes, that will be the code snippet to remove on future releases.


Lorenzo


Jason Lee

March 30, 2014 at 8:30 pm

Great, thanks!

Viewing 4 reply threads

The support post ‘Removing user ability to cancel registration for events’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server