You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the question because I don't know if this is the intention or not. Maybe for some functionality in admin area? No idea.
I thought that you can create menu files only in the main plugin directory with the name _menu.php.
But if you create folder "admin" and put there admin_menu.php file, then menus records are created. It doesn't work for another subfolder name, only for admin. Otherwise, this would be nice feature with subfolder menus.
It loads admin_menu from main folder too (legacy plugins):
Problem is that you don't know about those records via Menu Manager (only latest one is displayed)
Expected Source
I tried to check the documentation about rules for creating PHP menus files.
Additional Context
If this is the intention, no problem, I will rename my files. I just want to know the rules.
The text was updated successfully, but these errors were encountered:
Question to menus and menu manager
This is the question because I don't know if this is the intention or not. Maybe for some functionality in admin area? No idea.
I thought that you can create menu files only in the main plugin directory with the name _menu.php.
But if you create folder "admin" and put there admin_menu.php file, then menus records are created. It doesn't work for another subfolder name, only for admin. Otherwise, this would be nice feature with subfolder menus.
It loads admin_menu from main folder too (legacy plugins):
Problem is that you don't know about those records via Menu Manager (only latest one is displayed)
Expected Source
I tried to check the documentation about rules for creating PHP menus files.
Additional Context
If this is the intention, no problem, I will rename my files. I just want to know the rules.
The text was updated successfully, but these errors were encountered: