Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mostafa Soufi

    (@mostafas1990)

    Hey, I assume you are looking to get subscribers in your custom plugin/theme? you might want to check out the following class:

    $newsletter = new \WP_SMS\Newsletter();
    $newsletter::addGroup();
    $newsletter::getSubscribers();
    $newsletter::getGroup();
    $newsletter::getGroups();
    $newsletter::getSubscriberByMobile();

    If that’s not what you’re looking for, could you please provide some more context or details?

    Thread Starter Farhad

    (@farhaddc)

    I manage to do it through $wpdb, but one question I have, is there anyway I can avoid sending messages to subscribers who are marked inactive? or the plugin takes that into consideration by default, and if I mark them as inactive, it won’t send it?

    Plugin Author Mostafa Soufi

    (@mostafas1990)

    All subscriber SMS notification will send to activated subscribers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘query subscriber’ is closed to new replies.