Manual:Hooks/SidebarBeforeOutput

Details

 * $skin: Skin object
 * &$bar: Sidebar contents

Modify $bar to add or modify sidebar portlets.

Warning: You should probably use SkinBuildSidebar in order to use the caching system. This hook is run on each display.