The Craft 6 beta is out. Learn what's new and how Craft 6 works on Laravel. Explore Craft 6

Making Twig Macros Work Like Functions

Andrew shows how to make Twig macros return val­ues you can manip­u­late.

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch. A CraftQuest Premium feature.

Sign up for Premium