Modifiers

esc_url

The esc_url modifier escapes a value as a URL.

Example#

php
<a href="{{ link | esc_url }}">Visit</a>

Use it for custom fields that contain URLs. esc_url does not take an argument.