How to Add Admin Alerts and Error Messages to the Backend of WordPress

You know the little admin notices in the backend of WordPress that tell you stuff like “WordPress X is now available. Please update now.”? Well, they’re super easy to create and customize if you want to display alerts to clients or even notices for your plugins. Here’s how to do it.