Disable email link in notification mesage [RESOLVED]

My client wants to disable the email link on the notification message.

Does anyone know if there’s a filter that can be used to do this?


You can use this:

add_filter( 'gform_merge_tag_filter', function ( $value, $merge_tag, $options, $field, $raw_value, $format ) {
	if ( $merge_tag == 'all_fields' && $field->type == 'email' ) {
		return $raw_value;

	return $value;
}, 10, 6 );

Note that browsers can still automatically link emails.

That worked. Thank you very much for your help.