White label Extension Support Form - Is it possible to set a custom email header?

White label Extension Support Form - Is it possible to set a custom email header?

1 Like

@Edward_O_Rourke I do not think so at this time. I will ask the Dev Team to see if there is anything available in the current code base.

1 Like

Hey @Edward_O_Rourke

The development team have just added a hook mainwp_child_contact_support_mail_headers to the MainWP Child plugin.

Here’s the plugin with the added hook: Dropbox - mainwp-child.zip - Simplify your life

Please try using the hook as shown below and see if that helps.

add_filter( 'mainwp_child_contact_support_mail_headers', 'mycustom_mainwp_child_contact_support_mail_headers', 10, 3 );
	function mycustom_mainwp_child_contact_support_mail_headers( $headers, $email, $from ) {
		if ( ... ) {
			return $custom_headers;
		}
		return $headers;
	}
1 Like

this works :slight_smile: thank you

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.