Optin Optin
Use code:
0 Day
00 Hour
00 Min
00 Sec
Grab It Before It’s Gone

Documentation

  1. Home
  2. /
  3. Docs
  4. /
  5. Subscribe2
  6. /
  7. Hooks, API & Customi...
  8. /
  9. s2_subscriber_dropdown_de...

s2_subscriber_dropdown_default

This hook allows the default selection in the subscriber drop down on the Send Email page to be changed. By default ‘registered’ which selects Registered Subscribers. Other options are ‘all’, ‘public’, ‘confirmed’, ‘unconfirmed’ and ‘all_users’. Respectively these are All Registered Users and Public Subscribers, all Public Subscribers, only Confirmed Public Subscribers, only Unconfirmed Public Subscribers and All Registered Users.

function my_preferred_default( ) {
    // return 'all' or 'public' or 'confirmed' or 'unconfirmed' or 'all_users'
    return 'public';
}
add_filter( 's2_subscriber_dropdown_default', 'my_preferred_default' );

How can we help?

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We got your message

We will reply to you very soon :)