url_encode

The url_encode filter encodes a string to be part of a URL. Or, it converts an array to be a query string.

{{ variable|url_encode }}

{{ {'param': 'value', 'foo': 'bar'}|url_encode }}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv