gotrgf_allow_html_in_merge_tags

Updated 14 September 2026

On this page

Description

By default the values of the merge tags in HTML fields are escaped, so HTML that a visitor typed is shown as text. Return true to let HTML render. Only do this when you are aware of the risk.

Parameters

$allow_html | Bool. Defaults to false

Return

Bool

Usage

Copy the below code to the functions.php of your child theme or to your snippet plugin.

<?php
add_filter( "gotrgf_allow_html_in_merge_tags", "__return_true" );

Since

version 1.0.6

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top