2.2.0 stopped my use of um_before_submit_form_post with $post on form changes
-
Perhaps there is a setting I’m missing after updating to 2.2.0
Use of hook um_before_submit_form_post worked well before 2.2.0. After 2.2.0, the following code yields no values.
add_action('um_before_submit_form_post', 'user_updated_profile', 10, 1 ); function user_updated_profile( $post ) { $userData = get_userdata(um_user('ID') ); echo "Email is " . $userData->user_email; echo "User changed form " . $post['form_id']; if( $post['form_id'] == 9999 ) $actionOnForm = "$userData->first_name $userData->last_name Filled out blablabla form "; ...
Perhaps there is a setting or change in syntax required with 2.2.0 to see these values again. Thank you for any pointers.
-Michael
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘2.2.0 stopped my use of um_before_submit_form_post with $post on form changes’ is closed to new replies.