Welcome to a3gFramework
This is the default administration dashboard content.
Admin is a core resource and you should not edit any of its files directly.
To create your own dasboard follow these steps:
- Declare a filter hook for admin_dashboard like this:
add_filter("admin_dashboard", "myAdminDashboard");
- Create the function myAdminDashboard and write in there the code that generates
your own dashboard content.
function myAdminDashboard($content)
{
$content = '<p>This is my own admin dashboard content.</p>';
return $content;
}
- Put this code in some place visible to the framework starter. We recommend
to use the file fw_conten/bootstrap.php for this purpose.