Can I / how do I put multiple plugin menu items in one javascript file?

• Jun 9, 2012 - 09:58
Type
Plugins
Severity
S5 - Suggestion
Status
closed
Project

Hi,

I would like to re-use code between more than one plugin menu item, and was wondering if I have to create a new javascript file for each plugin menu item, or whether it is possible to have more than one plugin menu item in one javascript file. If it is possible to have more than one menu item per file, how do I do it?

Thanks,
Yvonne


Comments