How to Add Notification Message in All WordPress Admin Pages

| Last Updated: | In: Code Snippets, WordPress Snippets

Are you a WordPress plugin OR Themes developer and you want to add a global notification message for all admin pages, then keep your close attention in this tutorial as I am going to share how to add notification message in all WordPress admin pages.

This is a very easy and simple WordPress action function to add admin notification. We used the admin_notices action to global notification message for all WordPress Admin pages.

How to Add Notification Message in All WordPress Admin Pages

Add the below code in your plugin files if you are displaying the notification via your plugin, OR if you want to display via your theme, then add below code inside your functions.php file from your theme.

After adding the above code the notification message will look like below screenshot.

Over to You

Hope this tutorial help you, then please do like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

You may also like:

Tags: , , , , , , ,