All members to automatically be WP contributors when they sign up via UM

add_action('um_after_user_is_approved', 'change_wp_role_automatically', 99 );
function change_wp_role_automatically( $user_id ) {
	
	$wp_user_object = new WP_User( $user_id );
	$wp_user_object->set_role( 'contributor' )'

}