mcguffin / wp-dashboard-messages
Show Messages on the WP Admin Dashboard.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 4
Forks: 0
Open Issues: 5
Type:wordpress-plugin
Requires
- composer/installers: ~1.2
This package is auto-updated.
Last update: 2025-03-29 00:48:27 UTC
README
This is the official github repository of the WP Dashboard Messages plugin.
You can place Messages on the WP Admin Dashboard, including but not limited to cat pictures.
Features
- Select colorset, layout and dashicon
- Multisite support for network-wide messages
For specific target groups – like user roles – you can combine this plugin with WP Access Areas.
Installation
Production
Just follow the Automatic Plugin Installation procedere.
Development
cd into your plugin directory
git clone git@github.com:mcguffin/wp-dashboard-messages.git
cd wp-dashboard-messages
npm install
npm run dev
Plugin-API
Filter dashboard_messages_color_schemes
Example:
function add_a_nice_color( $colors ) {
$colors['nice'] = array(
'label' => 'Urgh!',
'css' => 'font-family:fantasy',
);
return $colors;
}
add_filter('dashboard_messages_color_schemes','add_a_nice_color');