We are targeting having a single hook for modifying menus T315015
Once the new hook is available, migrate all remaining usages of SidebarBeforeOutput and deprecate this method.
Acceptance criteria
- Update remaining usages
- Using the SidebarBeforeOutput hook should send deprecation warnings.