Skip to content
Permalink
Browse files

readme tweak

  • Loading branch information...
aristath committed Sep 9, 2019
1 parent 51863c9 commit fd047d90cbdcfdd9f46e11126f2cbf10be77ac10
Showing with 3 additions and 0 deletions.
  1. +3 −0 readme.md
@@ -12,6 +12,9 @@ $my_theme_notices = new \WPTRT\AdminNotices\Notices();
// Add a notice.
$my_theme_notices->add( (string) $id, (string) $title, (string) $content, (array) $options );
// Boot things up.
$my_theme_notices->boot();
```

After you instantiate the `Notices` object using `$my_theme_notices = new \WPTRT\AdminNotices\Notices();` you can add new notices using the `add()` method.

0 comments on commit fd047d9

Please sign in to comment.
You can’t perform that action at this time.