972 B
972 B
title, description, categories, keywords, params
| title | description | categories | keywords | params | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Store | Returns a persistent data structure for storing and manipulating keyed values, scoped to the current shortcode. |
|
{{< new-in 0.139.0 />}}
Use the Store method to create a persistent data structure for storing and manipulating keyed values, scoped to the current shortcode. To create a data structure with a different scope, refer to the scope section below.
Note
With the introduction of the
newScratchfunction, and the ability to assign values to template variables after initialization, theStoremethod within a shortcode is mostly obsolete.
{{% include "_common/store-methods.md" %}}
{{% include "_common/store-scope.md" %}}