WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Adam Walter v1.2

Admin Notice

Display a custom notice to all users in the WordPress admin.

Admin Notice

The facts

Rating
5★ from 6
Active installs
500+
Price
Free
Last updated
25 Jan 2022
Added
Apr 2015
Requires WP
5.4.1
Tested up to
WP 5.9.16
Requires PHP
7.0
Downloads
7,086

Our analysis

AI-assisted

Admin Notice is a WordPress plugin that enables you to display custom notices in the WordPress admin area. These notices are visible to all users and can be customised in terms of text and styling through the plugin's settings page.

Developers can use the admin_notice_enable hook to control the visibility of notices based on specific conditions, such as displaying a notice only in the 'Posts' section of the admin dashboard. This functionality makes it suitable for users who need to communicate important information to their team or site administrators.

Best for: This plugin is suitable for WordPress site administrators and developers who need to display notices in the admin area.

What it does well

  • Allows custom notices in the WordPress admin
  • Visible to all users
  • Customisable text and styling
  • Developers can control visibility with hooks

Where it falls short

  • Limited information on additional features
  • Directory score indicates potential issues

Verdict

Admin Notice provides a straightforward solution for displaying custom notices in the WordPress admin. It may be useful for those looking to enhance communication within their site management.

From the developer

Adam Walter's own description of Admin Notice, lightly tidied.

Admin Notice is a very simple plugin that allows you to display custom notices in the WordPress admin that is visible to all users.

Control over the notice text and styling is available from the plugin’s settings page.

Developers can use the admin_notice_enable hook to control the notice’s visibility on a more granular level. The following example demonstrates how to show the notice only in the “Posts” area of the admin.

add_filter('admin_notice_enable', function($enabled) {

    $screen = get_current_screen();

    if (isset($screen->post_type) && $screen->post_type !== 'post') {
        $enabled = false;
    }

    return $enabled;

}, 10, 1);

Read the full description on the official page →

Tagged as