Support » Plugin: Menu Item Visibility Control » Multiple conditions for single menu item

  • Is it possible to use multiple conditions for a single menu, lets say for example: wp_is_mobile() and is_user_logged_in()?

    And how, if it’s possible?!

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

    (@shazdeh)

    Yes. Exactly as you described:

    
    wp_is_mobile() AND is_user_logged_in()
    

    Or any combination of AND and OR or any logical operators in PHP.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.