Profile Tab with CF7 form inside


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

Contact Form 7 plugin installation

You need to install the Contact Form 7 plugin on your website and make the installation steps. More details can be at the Contact Form 7 website.

Contact profile tab

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

[wp-admin>Profile Tabs> Add or Edit a Profile Tab]

On the user's profile, you'll find this profile tab with the contact form. Data will be sent to the user's email address, who owns the profile by default.

Note: You may use the code snippet below if you want to disable sending emails to profile owners and use the 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 );