store_set
store_set(key=, value=, page=?)Sets key in the page store (content-phase writes are buffered per transaction); in a content adapter without page=, in the adapter’s store, which its runs for every language share. Prints nothing.
Arguments#
| Argument | Type | Required |
|---|---|---|
key | string | yes |
value | any | yes |
page | page | no |
Details#
- Kind: Function, implemented by fugo.
- Available in: every kind of template: layouts, partials, shortcodes and render hooks.
- Output: escaped like any value, unless marked
safe. - Site-bound: reads the site or the page being rendered; in a component, pass
page=or declare@__nh.