Methods you write for the Admin Toolbar

These are the methods that let you change how things on the Admin Toolbar are displayed, or handle their actions.

fillAdminToolbar()

This method lets you alter the contents of the Admin Toolbar, before it is sent to the client.

handleAdminToolbarAJAX()

You can handle AJAX requests from the Admin Toolbar by writing this method.