
@colin_howells So with that I created Sprig so I could use Twig to pass date to templates and use WordPress’ escaping functions as Twig filters.
Pros:
– Separation of logic from presentation
– Reusability
Cons:
– It’s a separate dependency
– Slight learning curve