Functions
View the available functions within your Twig template.
Functions generate content for you to use within your templates.
If you'd like access to a TWIG function that is not available below, please let us know.
Available Functions
Function Documentation
__
Returns the equivalent translation from within your translations settings.
{{ __('Redeem coupons / gift cards') }}
// prints "Redeems coupons / gift cards" (Or the equivalent translation if another language is selected)_p
Returns the plural translation from within your translation settings.
config
Returns a config value from your template config schema.
asset
Returns the full url path of an asset from within your template.
path
Returns the full url path of the current page.
query
Returns a GET parameter from the current url.
Last updated