Replies: 0
Hello.
After submitting, I want to display a message with a link to download a file, but the “download” attribute is removed from the “a” tag.
I am using this code, but do not works:
add_filter( 'forminator_change_form_allowed_html', function( $allowed_html ){
$allowed_html = array(
'a' => array(
'download' => true,
),
);
return $allowed_html;
} );