WordPress Add Administrative Alert on Dashboard

Ran across this VERY handy chunk of code for adding an administrative alert on a WordPress dashboard. I was looking for a way to share important info about the website modifications with my developers. You put out a website, and then go back to it 3 months later and you have no memory of that one odd little quirk that exists on this site. No more!

A little mod to your theme functions.php file and you’re on your way!

function addDashboardAlert() { ?>

< ?php } add_action('admin_head','addDashboardAlert');

Thanks to WPLifeGuard.com for sharing this dashboard code!

Author: Eric Erickson

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *