Ready to get started?Download WordPress


grabbing current user info (2 posts)

  1. dhogwood
    Posted 8 months ago #

    I am looking to make the default subscription form grab various bits of the current user info and insert it along the defined email address.

    I did write a custom subscription form which did this however it didn't return messages after submitting such as 'this email has already been registered' though I noted it was reflected in the url.

    Is there a way I can restore these messages to my custom form or alternatively grab the current user data in the default form which is generated by the [newsletter] shortcode?



  2. Stefano Lissa
    Plugin Author

    Posted 7 months ago #

    You subscription form must point to the subscribe.php file and this then redirect to a page where the messages are shown. I have not understood how you coded the form so it does not show the messages.

    About the user data, all user related tags ({name}, ...) work if used in the Newsletter messages (not only inside the emails).


You must log in to post.

About this Plugin

About this Topic


No tags yet.