-
Notifications
You must be signed in to change notification settings - Fork 8
Data Store
Junaid Bhura edited this page Feb 2, 2019
·
1 revision
Gumponents make use of Gutenberg's Redux data store. The following data stores are available:
This is used to store media details. Why not just use the original getMedia
from the core
data store? This is because the values from that are different from what is generated by the <MediaUpload />
component.
This data stores allows the block to access the original object generated by <MediaUpload />
.
This is used by relationship fields to store and access data. The following data queried by these fields are currently stored:
- posts
- taxonomies