Support » Plugin: Newsletter » custom form and register user to nl

  • Resolved Andrea


    i made a custom register process that register user in wordpress, i need to save email address in newsletter plugin, but i can’t find a documentation about this, i have already tried to set this

             $options = array(
                'http' => array(
                    'header' => array(
                        "Content-type: application/x-www-form-urlencoded\r\n\r\n"
                    'method'  => 'POST',
                    'content' => http_build_query($params),
            $result = file_get_contents(get_home_url()."?na=s", false, stream_context_create($options));

    but not works, exists a way to register user email programmatically in newsletter plugin?
    thank you

    • This topic was modified 6 months, 2 weeks ago by Andrea.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘custom form and register user to nl’ is closed to new replies.