diff --git a/README.md b/README.md index 39a56d735b1d756e5437a89ae14aa3704ea1bed6..efcff27048a628c0ef3dc84ea5fc62f4ab944219 100644 --- a/README.md +++ b/README.md @@ -80,5 +80,5 @@ To display permanent dismissible notice: wpdesk_permanent_dismissible_wp_notice( 'Notice text goes here', 'notice-name' ); // Is equivalent to -new PermanentDismissibleNotice( 'Notice text goes here', 'notice-name' ); +$notice = new \WPDesk\Notice\PermanentDismissibleNotice( 'Notice text goes here', 'notice-name' ); ```