Download the PHP package wp-user-manager/wp-notices without Composer
On this page you can find all versions of the php package wp-user-manager/wp-notices. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wp-user-manager/wp-notices
More information about wp-user-manager/wp-notices
Files in wp-user-manager/wp-notices
Download wp-user-manager/wp-notices
More information about wp-user-manager/wp-notices
Files in wp-user-manager/wp-notices
Vendor wp-user-manager
Package wp-notices
Short Description An helper library to create persistent and dismissible WordPress admin notices.
License GPL-3.0-or-later
Homepage https://github.com/alessandrotesoro/wp-notices/
Package wp-notices
Short Description An helper library to create persistent and dismissible WordPress admin notices.
License GPL-3.0-or-later
Homepage https://github.com/alessandrotesoro/wp-notices/
Please rate this library. Is it a good library?
Informations about the package wp-notices
wp-notices
An helper library to create persistent and dismissible WordPress admin notices.
Installation
Composer is required.
Usage
Import the library and assign it your own namespace:
Create a wrapper function:
Create a global notice for all users:
Or create a notice for the currently logged in user only:
Available parameters
Parameter | Type | Options | Defaults | Description |
---|---|---|---|---|
id | string | Required ID to identify the notice | ||
type | string | success, warning, error, info | Determine the type of notice | |
message | string | The message you wish to display within WordPress | ||
args | array | scope (global, user), dismissible (true/false), cap, class | scope = global, dismissible = true | Additional settings available for the notice |
All versions of wp-notices with dependencies
PHP Build Version
Package Version
The package wp-user-manager/wp-notices contains the following files
Loading the files please wait ....