Skip to content

Commit fac516d

Browse files
committedMay 28, 2018
add code snippet to stop storing ip addr & user agent
1 parent 288d4d9 commit fac516d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
add_action( 'hf_process_form', function( $form, $submission ) {
3+
$submission->ip_address = '';
4+
$submission->user_agent = '';
5+
}, 10, 2 );

0 commit comments

Comments
 (0)