I use Ultimate Member and am trying to do this exact same thing. Could anyone explain how to do this?
I left a message on the developer’s site (and would be happy to make a donation there to get the answer), but my message was ignored. Any help would be appreciated.