It’s just for storing data globally. So you can store like Logo image globally, and then access it anywhere inside builder using variables system, inside $global variable.
So whatever you want to store globally, variables is a good way.
Can global variables be used to create a system of ‘categories’ ‘subcategories’ & ‘tags’ similar to WordPress that can be applied to other content pages & blog posts etc. ?
If so, can you provide any practical documentation or assistance to achieve this?
Use it with any field that allows variables - notice the get(‘socials’) function call returns an array of objects with each object containing “Link” and “Name” keys.
@dejan Hello! can i make Variable for my slug?- not sure if it will be changing my slug according to seo and wanted to make it as a variable instead of fighting with broken link every time change slug for site.