From 881c366f344141925f28722f639bf0ec2c765b87 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Tue, 5 Feb 2019 08:13:02 -0800 Subject: [PATCH] Mention how 'core/notices' data store is accessed (#13593) This tiny amount of extra context is helpful for those who aren't fully oriented with the entire architecture. --- packages/notices/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/notices/README.md b/packages/notices/README.md index eeeba5f63d6ae..497f10042e255 100644 --- a/packages/notices/README.md +++ b/packages/notices/README.md @@ -16,7 +16,7 @@ _This package assumes that your code will run in an **ES2015+** environment. If ## Usage -When imported, the notices module registers a data store on the `core/notices` namespace. +When imported, the notices module registers a data store on the `core/notices` namespace. In WordPress, this is accessed from `wp.data.dispatch( 'core/notices' )`. For more information about consuming from a data store, refer to [the `@wordpress/data` documentation on _Data Access and Manipulation_](/packages/data/README.md#data-access-and-manipulation).