Support » Plugin: CMB2 » Change title of first submenu item when creating a box of for options-page

  • Resolved james0r

    (@james0r)


    $args = [
        'id'              => 'cmb2_id_box_theme_options',
        'object_types'    => ['options-page'],
        'option_key'      => 'cmb_main_options',
        'menu_title'      => __('Keys', 'keys'),
        'position'        => 2,
        'capability'      => 'manage_options', // Cap required to view options-page.
    ];
    
    $cmb2_options_clinic_info = new_cmb2_box($args);

    I’m trying to see this:

    Menu Title
    – Submenu Title
    – Another Boxes title

    The page I need help with: [log in to see the link]

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