Profile Tab with CF7 form inside

Overview

You could integrate the Contact Form 7 (CF7) contact form with the Ultimate Member profile tab and display a contact form in the user's profile page.

Contact Form 7 plugin installation

You need to install the Contact Form 7 plugin to your website and make installation steps. More details you could get at the Contact Form 7 website.

Contact profile tab

So when you will have the ready-to-use your contact form please paste the form's shortcode to the profile tab content.

You may see this profile tab and a contact form at it. By default* data will be sent to the profile's owner email.

Note: You may use the code snippet below if you want to disable sending emails to profile owners and use default CF7 recipient. You can add this code to the file functions.php in the theme folder.

if ( function_exists( 'UM' ) && defined( 'um_profile_tabs_version' ) ) {
	remove_filter( 'wpcf7_mail_components', [ UM()->Profile_Tabs()->profile(), 'change_email_to_profile_owner_email' ], 10 );
}