Skip to content

Commit

Permalink
Mention how 'core/notices' data store is accessed (#13593)
Browse files Browse the repository at this point in the history
This tiny amount of extra context is helpful for those who aren't fully oriented with the entire architecture.
  • Loading branch information
danielbachhuber authored and gziolo committed Feb 5, 2019
1 parent 1653adf commit d36862e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/notices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit d36862e

Please sign in to comment.