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
The action hook passes the admin menu value you use. When you use a global I can't edit the menu stuff again later with a custom plugin without messing with load orders.
@lukefretwell we shouldn't be using globals like is done here.
The action hook passes the admin menu value you use. When you use a global I can't edit the menu stuff again later with a custom plugin without messing with load orders.
This is how it should be done. In general if you think you should use
global
you should not.The text was updated successfully, but these errors were encountered: