Home Forums Newsletter Plugin Support Pre-fill newsletter subscription field from logged in user data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #293460
    db5331
    Participant

    I use social login to make it easy for users to register on my site. I would like to have the Newsletter subscription form to pre-fill in the name and email of a logged in user if a user is logged in to make it even easier to subscribe to my newsletter.
    Can this be done through configuration?
    If not, can anyone suggest how I could modify the plugin code to set the value of the name and email fields in the subscription form to the values of the current user?

    #294255
    Stefano
    Keymaster

    No, that feature is not available, sorry. You should code a custom form using PHP to refill the fields using the data in the $current_user variable.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.