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?
All subscriber SMS notification will send to activated subscribers.