Okay
  Public Ticket #2208457
Delete "edit" event
Closed

Comments

  • pepecharlie67 started the conversation

    Hello,

    I bought your plugin and I'm interesting in delete the option of edit edit event in the calendar and in the single event.

    How it's possible? 

    Thanks

  •  894
    Zhivko replied

    Hi,

    Add this filter in your theme functions.php file:

    add_filter('stec_user_can_edit_event', function(){
        if (is_super_admin()) {
            return true;
        }
        
        return false;
    });

    Stachethemes Developer

  • pepecharlie67 replied

    Thankss!!!

  • Richard replied

    Thanks for this. I was wondering why this was showing on the front end when not logged in.