Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to add a sub_menu with URL parameter

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #237702
    Ayanize
    Participant

    Hi,

    How I can add a sub_menu with URL parameter for tabbed URLs

    function add_other_admin_menu() {
    
                add_submenu_page( 'theme-options',
    __( 'Menu Name', 'textdomains' ),
    __( 'Menu Name', 'textdomains' ),
    'manage_options',
    'theme-optionsa&tab=second_options',
    array( $this, 'get_theme_options' )
    );
    
    

    The function I added does not work of course. Hope you get the point. How I can open the sub-menu options in that tab.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.