How to add conditional tabs

Support MB Settings Page How to add conditional tabs

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13216
    CreativeCreative
    Participant

    How do I add conditional tabs to the MB Setting Page? I want to display a tab if a plugin class exists. Something like:

    if ( class_exists( 'WooCommerce' ) )
        return;
    
    #13338
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible. Please see this snippet.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.