From fd047d90cbdcfdd9f46e11126f2cbf10be77ac10 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Mon, 9 Sep 2019 22:34:22 +0300 Subject: [PATCH] readme tweak --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index ad4f0b9..67fe451 100644 --- a/readme.md +++ b/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.