How can i put php code on the wordpress page?
I think using the user_registration hook is probably the best fit for what you want to do. An example from the docs: add_action( ‘user_register’, ‘myplugin_registration_save’, 10, 1 ); function myplugin_registration_save( $user_id ) { if ( isset( $_POST[‘first_name’] ) ) update_user_meta($user_id, ‘first_name’, $_POST[‘first_name’]); } To be compliant with the WordPress way (and be less likely to … Read more