Skip to content
Snippets Groups Projects

Feature/factory

Merged Krzysztof Dyszczyk requested to merge feature/factory into master
All threads resolved!
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -56,4 +56,8 @@ $notice = \WPDesk\Notice\Factory::notice('Notice text goes here');
$notice = new \WPDesk\Notice\Notice('Notice text goes here');
```
Notice must be used before WordPress action `admin_notices`. WordPress admin actions order is listed [here](https://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request).
Notice must be used before WordPress action `admin_notices`. WordPress admin actions order is listed [here](https://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request).
## Project documentation
https://wpdesk.gitlab.io/wp-notice/index.html
Loading