Hi, I’m populating a Paragraph Text field dynamically with a link element, this way:
add_filter( 'gform_field_value_post_test', 'populate_my_field' ) );
function populate_my_field( $value ) {
return '<a href="#">Test</a>';
}
However, it’s adding the link to the field like this:
<a href="”#”" data-mce-href="”#”">Test</a>
As you can see, it’s wrapping my href value in another couple of double-quotes.
It worked fine a while ago but I was just testing this today and found this issue, can you help me finding what’s going on and how I can fix this issue?
Thanks.