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

[![Build Status](https://travis-ci.org/k1sul1/custom-admin-notices.svg?branch=master)](https://travis-ci.org/k1sul1/custom-admin-notices)

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](https://github.com/k1sul1/custom-admin-notices/blob/master/assets/screenshot-1.png?raw=true)

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?

Licence
------

This plugin uses [https://github.com/nikcorg/wp-plugin-stem](https://github.com/nikcorg/wp-plugin-stem) as a stem. The stem itself is MIT-licenced, but the rest of the plugin code is GPLv2, the same as WordPress itself. 
