store_set

Signature
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#

ArgumentTypeRequired
keystringyes
valueanyyes
pagepageno

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.

    Type to search titles, headings and text.