plugin_name); $alpha_sms_balance = ''; if (!$alpha_sms_options || empty($alpha_sms_options['api_key'])) { $alpha_sms_balance = 'Please configure SMS API first.'; } else { require_once ALPHA_SMS_PATH. 'includes/sms.class.php'; $alpha_sms_smsPortal = new Alpha_SMS_Class($alpha_sms_options['api_key']); $alpha_sms_response = $alpha_sms_smsPortal->getBalance(); if ($alpha_sms_response && $alpha_sms_response->error === 0) { $alpha_sms_balance = $alpha_sms_response->data->balance; } elseif ($alpha_sms_response && $alpha_sms_response->error === 405) { $alpha_sms_balance = 'Please configure SMS API first.'; } else { $alpha_sms_balance = 'Unknown Error, failed to fetch balance'; } } ?>

Balance: BDT

plugin_name . '_send_campaign', $this->plugin_name . '[_wpnonce]'); ?>

New Line Separated