40Nuggets General Settings


'; if( isset($_POST['settings-updated']) ) { $_POST["image"] = $_POST["upload_image"]; $json["client"] = $_POST; $data_string = json_encode($json); $options = $plugin->get_options(); $response = $plugin->apiCall("clients/{$options->id}", "PUT", $data_string); $plugin->show_response ($response); if (!isset($response->error)){ //save local settings $options = $plugin->get_options(); $options->site_track = isset($_POST["site_track"]) ? $_POST["site_track"] : ""; $options->freshness = isset($_POST["freshness"]) ? $_POST["freshness"] : ""; $plugin->save_options($options); } } $response = $plugin->apiCall("clients/me"); $me = $response->client; $options = $plugin->get_options(); $site_track = isset ($options->site_track) ? $options->site_track : "on"; $freshness = isset ($options->freshness) ? $options->freshness : "on"; ?> ';?>

Account Settings

Client ID api_key;?>
Registered E-mail email;?>
(?)

eNewsletter

This name will appear on the top of your newsletters

Enter a URL or upload the image you'd like to use from your computer

" class="regular-text ltr" />

This is the email address from which your contacts will receive your newsletter

This is how often your audience will receive your newsletter
**Optimized delivery is determined by our Brain and is based on analyzed individual contact behavior**

> Allow 40Nuggets to learn your site visitor behavior and select the most relevant content for eNewsletters (recommended)

> Tells 40Nuggets to give priority to newly published content when creating eNewsletters