k1sul1 / custom-admin-notices
This plugin allows you to create your own notices that show up in the WordPress admin.
Installs: 214
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 1
Type:wordpress-plugin
Requires
- php: >=5.2
This package is auto-updated.
Last update: 2024-12-17 19:48:09 UTC
README
This WordPress plugin allows you to easily create custom notices that are displayed in WP-admin.
Installing
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.
Filters
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.
Contributing
Contributions welcome! Feature wishlist:
- More hooks!
- Translations?
Thanks
This plugin uses https://github.com/nikcorg/wp-plugin-stem as a stem. Check it out, it's awesome.
Licence
MIT