We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

How to set global variables programatically

Ashwin Tirodkar September 25, 2020 by Ashwin Tirodkar

How do I use Statamic\Globals\GlobalSet to set variables? I can get the values using:


Not sure how to set them though?

>>>>>>> Unanswered <<<<<<<
6 Replies