Skip to main content

Global Setting - Team - manage own calendar - OPTIONS

I want to be able to offer bookings to members so that they can add their own cal set their avaliablilty etc. The issue Im currently facing is that there needs to be a way to enable what the user can have access to similar to Fluent CRM managers. So that you could choose what they have within their own event type or any of the other tabs. For a standard user, I dont want them to have access to a bunch of options like payment settings, webhooks feed intergrations or even SMS noticifations etc.

I would love to have options to select what a user has options to within the front end.

Is there a quick fix like hide with css?
I tried to do with css one time but was unable to figure out how to remove the listing items.

Global Setting - Team - manage own calendar - OPTIONS

Raiyan Marzan

Hi Luke HubCoΒ 
Hook is available to hide the items.

add_filter('fluent_booking/calendar_event_setting_menu_items', function ($items, $event) {         
    $items['payment_settings']['visible'] = false;
    $items['webhook_settings']['visible'] = false;
    $items['sms_notification']['visible'] = false;
    $items['advanced_settings']['visible'] = false;
    $items['integrations']['visible'] = false;    
    return $items; 
}, 99, 2);

Luke Nova

Raiyan MarzanΒ wow nice one!
Thank you so so much!!

Luke Nova

Worked like a charm! Thank you very much Raiyan MarzanΒ 

Raiyan Marzan

Luke HubCoΒ You are welcome πŸ™‚