This WordPress plugin allows you to easily create custom notices that are displayed in WP-admin.
Easiest way to install is with composer:
composer require k1sul1/custom-admin-notices dev-master
But you can also just download this repository as a .zip file, and install it like you normally would.
can_banner_arguments
allows you to adjust the query parameters. Not sure why you would want to do that, but possible arguments listed here: https://codex.wordpress.org/Class_Reference/WP_Query
can_notice_title
allows you to customize the notice title. Don't want a title? Make it empty!
can_notice_content
allows you to customize the notice content.
can_is_dismissible
allows you to disable or enable dismission of all notices generated by plugin or by post id.
Contributions welcome! Feature wishlist:
- More hooks!
- Translations?
This plugin uses https://github.com/nikcorg/wp-plugin-stem as a stem. Check it out, it's awesome.
MIT