k1sul1/custom-admin-notices

This plugin allows you to create your own notices that show up in the WordPress admin.

Installs: 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 0

Open Issues: 1

Type:wordpress-plugin

0.4.2-beta 2017-05-05 14:13 UTC

This package is auto-updated.

Last update: 2024-09-17 19:22:13 UTC


README

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