Reply To: Email Smart Tag for Registration Form

Home Forums User Registration Email Smart Tag for Registration Form Reply To: Email Smart Tag for Registration Form

#11291

sanjeev3
Member

Hello Ernest Ford,

Currently there is no smart tags for registration form. Thank you for the suggestion, we will note this down and may implement this in near future updates.

If you are familiar with some codes, you can add this codes in your child theme’s functions.php.

add_filter( 'user_registration_process_smart_tag', 'ur_form_smart_tag', 10, 4 );
function ur_form_smart_tag( $name_value, $form_data, $form_id, $user_id ) {
	$form_name = get_the_title( $form_id );
	$name_value['form_name'] = $form_name;
	return $name_value;
};

The smart tag will be {{form_name}}.

If you are not familiar with these stuffs, donot add anything. As a little error may result your site to crash.

Hope this helps!

Regards,
WPEverest Support