Skip to content

WordPress plugin that allows for easy generation of custom notices.

License

Notifications You must be signed in to change notification settings

k1sul1/custom-admin-notices

Repository files navigation

Custom admin notices

This WordPress plugin allows you to easily create custom notices that are displayed in WP-admin.

Build Status

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.

screenshot

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

About

WordPress plugin that allows for easy generation of custom notices.

Resources

License

Stars

Watchers

Forks

Packages

No packages published