getHeaderWidgets() or getFooterWidgets() methods:
getHeaderWidgets() returns an array of widgets to display above the page content, whereas getFooterWidgets() are displayed below.
If you’d like to learn how to build and customize widgets, check out the Dashboard documentation section.
Customizing the widgets grid
You may change how many grid columns are used to display widgets. You may override thegetHeaderWidgetsColumns() or getFooterWidgetsColumns() methods to return a number of grid columns to use: