Hi again, another question.
I'm trying to use the follow code:
osc_admin_menu_plugins(
'my plugin name',
osc_admin_render_plugin_url(osc_plugin_path(dirname(__FILE__)) . '/admin.php'),
'my_plugin_name_id',
'administrator'
);
(see file: captura-osc_admin_menu_plugins.jpg)
But the submenu doesn't appear, only Plugin Menu Item changes his position to the first position.
and this one:
osc_add_admin_submenu_page(
'Plugins',
'my plugin name',
osc_admin_render_plugin_url(osc_plugin_path(dirname(__FILE__)) . '/admin.php'),
'my_plugin_name_id',
'administrator'
);
(see file: captura-osc_add_admin_submenu_page.jpg)
Create a new menu item, without name, and create a Submenu.
this is a bug?
my Osclass versión is 3.2
regards