Disable comment-form email capture

Remove AutomateWoo’s comment hook if you do not want comment submissions to start session tracking or capture an email address.

Developer note:

Add custom PHP in a small custom plugin or child theme, and test it on a staging site before production. This example requires ongoing maintenance when extension APIs change.

functions.php

<?php

add_action( 'automatewoo_loaded', 'my_store_disable_comment_capture' );

/**
 * Disable email capture from comment submissions.
 */
function my_store_disable_comment_capture() {
	remove_action( 'comment_post', array( 'AutomateWoo\Session_Tracker', 'capture_from_comment' ) );
}
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.