Triggering the "Set Your Password" Link in the Welcome Email with All Import Pro Plugin

To enable the "Set Your Password" link in the Welcome Email when importing users with the All Import Pro plugin, follow these steps:

  1. Download UM Extended Plugins available at this link
  2. Install the Set Password plugin from the Individual Extensions zipped file.
  3. Generate the Set Password URL by using {set_password_link} in your Welcome Email template. You can find detailed instructions on how to set the password link in Ultimate Member templates in this article.
  4. Add Code Snippet: Add the following code snippet to your theme's functions.php file or a custom plugin:
    add_action( 'user_register', 'um_03062024_test_register', 1 );
    function um_03062024_test_register( $user_id ) {
    	if( class_exists( 'UM' ) ) {
    		update_user_meta( $user_id, 'um_set_password_required', true );
    	 }
    }
  5. Make sure the Registration Status in the User Role settings is set to "Auto Approve" for the Register options.