Last active
September 27, 2021 09:06
-
-
Save jadealombro/5993a51c1986778613b04263bbd293d7 to your computer and use it in GitHub Desktop.
Log values in the wpforms_process_complete hook.
This file contains 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 | |
// Make sure to turn the WordPress debug mode | |
// https://wordpress.org/plugins/wp-debugging/ | |
add_action( 'wpforms_process_complete', function( $fields, $entry, $form_data, $entry_id ) { | |
error_log( var_export( $form_data, true ) ); | |
}, 10, 4 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment