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
_pReturns the plural translation from within your translation settings.
config
configReturns a config value from your template config schema.
asset
assetReturns the full url path of an asset from within your template.
path
pathReturns the full url path of the current page.
query
queryReturns a GET parameter from the current url.
Last updated
Was this helpful?

