I’m running a subscription service from my website. When I post new content, I’m using the PublishPress Planner to email users with a specific user role.
I want to allow users to sign up for emails by assigning themselves a user role.
For example, if they want to get notified when I post my monthly newsletter, they can add the Newsletter role to their profile. I also want them to be able to change this at any time by editing their profile.
Obviously, I want them to only be able to select from a subset of roles, and wouldn’t want them to be able to select built-in roles.
I assume I can do this somehow with ACF, but I’m not sure where to start. Any suggestions or tips?