Skip to content

Commit fd047d9

Browse files
committed
readme tweak
1 parent 51863c9 commit fd047d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ $my_theme_notices = new \WPTRT\AdminNotices\Notices();
1212

1313
// Add a notice.
1414
$my_theme_notices->add( (string) $id, (string) $title, (string) $content, (array) $options );
15+
16+
// Boot things up.
17+
$my_theme_notices->boot();
1518
```
1619

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

0 commit comments

Comments
 (0)