Hey,
To help clarify.
All emails sent through woocommerce will have the styling (header and footer) that you set up through our plugin. Those styles apply.
To preview emails in the customizer that requires hooking into our plugin and telling it how to generate a preview. That looks like this:
function custom_add_email_previews( $emails = array() ) {
$args = array(
'email_type' => 'email_example_slug',
'email_name' => 'Email Example',
'email_class' => 'Custom_WC_Email_Extend',
'email_heading' => __( 'Placeholder for Heading', 'plugin' ),
);
$emails[] = $args;
return $emails;
}
add_filter( 'kadence_woocommerce_email_previews', 'custom_add_email_previews' );
To actually edit the text is another step and would require you to override the email template to add an action to would check for body text set by this plugin. I don’t suggest you do this. Ideally for this kind of integration the plugin author is in communication with us (simply giving us access to their product is the biggest thing) and then we can create that integration at that level.
Ben