Support

Home Forums Event Espresso Premium Remove check-in functionality

Remove check-in functionality

Posted: October 30, 2017 at 8:30 am

Viewing 1 reply thread


Christophe Legrand

October 30, 2017 at 8:30 am

Hi,

I’d like to remove the check-in functionality from my Event Espresso install as our customer does not need this. Is there an action hook I can use to remove the Check-in tab from the registrations overview page?

Thanks!


Josh

  • Support Staff

October 30, 2017 at 1:59 pm

Yes. You run this code once (remove from the functions file after running it once):

add_action('init', 'remove_ee_read_checkins_cap');
function remove_ee_read_checkins_cap() {
    $role = get_role( 'administrator' );
    $role->remove_cap( 'ee_read_checkins' );
}

If your client is using another role like ee_events_administrator then you change the code accordingly e.g.
$role = get_role( 'ee_events_administrator' );

Viewing 1 reply thread

The support post ‘Remove check-in functionality’ 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