Avoid double menu in Admin Panel
-
How to avoid double menu ? I need to keep one
Configuration
. My code is like below.add_menu_page('Plugin Config', 'Configuration', 'manage_options', 'settings_menu', 'settings_function'); add_submenu_page('settings_menu', 'Plugin Config', 'API Key', 'manage_options', 'submenu-handle', 'settings_function');
I am getting output like below.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Avoid double menu in Admin Panel’ is closed to new replies.