• Resolved diegop78

    (@diegop78)


    Hi, is there the possibility to apply a forntend checkbox to let user to send form data even to antoher website db? is there an hook or some workaround about it? Thanks

Viewing 1 replies (of 1 total)
  • Hi @diegop78

    UsersWP does not have an inbuilt functionality to do so.

    You can surely create a custom checkbox to get user consent on the signup page from wp-admin => UsersWP => form builder

    and you can use the following hook to set the condition for the checkbox checked and send data to another website using rest API.

    add_action( 'uwp_after_process_register', 'uwp_after_process_register_custom_callback', 10, 2 );
    function uwp_after_process_register_custom_callback( $result, $user_id ) {
    	// do work after user register
    }

    Regards



Viewing 1 replies (of 1 total)
  • The topic ‘Send data to another db.’ is closed to new replies.