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

s2_subscribe_button s2_unsubscribe_button

These hooks allow the default button text to be changed without editing the code or any used translation files.

function change_subscribe_button_text() {
    // return your preferred button text
    return 'My Preferred Button Text';
}
add_filter('s2_subscribe_button', 'change_subscribe_button_text');
Was this article helpful to you? Yes No

How can we help?