Support » Plugin: Modern Events Calendar Lite » Get the organizer ID of the currently logged in user

  • Resolved Pradeep

    (@pmaheepala)


    Hello there,

    Could you please explain how to run a query to see if the currently logged in user is an organizer and to get their organizer ID?

    Thanks and regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Pradeep

    (@pmaheepala)

    Managed to get it done by using the following query.

    if(is_user_logged_in()){
                $orgID = get_user_meta(get_current_user_id(), 'mec_user_is_organizer',true);    
            }
    Plugin Author Webnus

    (@webnus)

    Hi @pmaheepala,

    Great, I’m glad it is solved 😉

    Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get the organizer ID of the currently logged in user’ is closed to new replies.