Disable Auto-Expanding Menu in WordPress Admin Menus

Question

Right now, when I click on a menu item in the wordpress admin menu, the section that that page belongs to is automatically expanded.

For instance, if I click on a link in the Settings section then the whole Settings section is expanded:

enter image description here

If, on the other hand, I click on a link in the Appearance menu then the whole Appearance section is expanded:

enter image description here

Is there a function or action that disables that feature? That is to say, I do NOT want these sections to be expanded, but to remain closed like all of the other sections – i.e., like this:

enter image description here

0
, , , Moshe 7 years 2016-05-18T08:00:32-05:00 0 Answers 93 views 0

Leave an answer

Browse
Browse