Created
December 10, 2018 16:35
-
-
Save danielbitzer/9bb83129b51d18cf5861255be354e2a4 to your computer and use it in GitHub Desktop.
[AutomateWoo] Prevent email capture and session tracking from the comment form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Prevent email capture and session tracking from the comment form | |
add_action( 'automatewoo_loaded', function() { | |
remove_action( 'comment_post', [ 'AutomateWoo\Session_Tracker', 'capture_from_comment' ] ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment