Support » Plugin: Menu Item Visibility Control » This conditions work with multise?

  • Resolved ravipatel

    (@ravipatel)


    Hello sir,
    I have use this plugin on wordpress multi site but realized when user not added on subsite but display all fields so please how to fix issue on multi site?

    Now i have using “Version 0.3.2”

    Multisite conditions like this type u have used?:`

    if (is_user_logged_in()) {
    if (is_blog_user(4)) echo “Current user is a member of blog 4”;
    }`

    https://wordpress.org/plugins/menu-items-visibility-control/

Viewing 1 replies (of 1 total)
  • Plugin Author shazdeh

    (@shazdeh)

    If I understand properly, you want to check if the current user is registered on the website? You could use this condition:

    is_user_logged_in() && is_user_member_of_blog()

    Using this condition, the menu will only show up if the user is logged in (so guest visitors will not see it) and also if the user has been registered for that website in the network.

Viewing 1 replies (of 1 total)
  • The topic ‘This conditions work with multise?’ is closed to new replies.