1. Home
  2. Docs
  3. Subscribe2
  4. Hooks, API & Customization
  5. s2_subscribe_confirmed

s2_subscribe_confirmed

This allows the message displayed to a newly subscribing user that is displayed (after clicking the confirmation link in their email) to be customised.

function subscribe_change($message) {
    // default message is 'You have successfully subscribed!'
    $message .= 'A warm welcome to my blog. I hope you enjoy my email notifications and find them useful.';
    return $message;
}
add_filter('s2_subscribe_confirmed', 'subscribe_change');
Was this article helpful to you? Yes No

How can we help?