Developer Center

AddNumber() - Identify Phone Numbers

It adds the phone numbers to be sent to the class.

Parameters;

  • $arg --- Phone number to send
  • $cc --- Country code of the phone number to be sent (Not Required)
public function AddNumber($arg=0,$cc=NULL){
    if(!is_array($arg)){
        if($cc != NULL) $arg = [$cc."|".$arg];
        else $arg = [$arg];
    }
    foreach($arg AS $num){
        if(strstr($num,"|")){
            $split  = explode("|",$num);
            $cc     = $split[0];
            $no     = $split[1];
            $num    = $cc.$no;
        }
        if(!array_search($num,$this->numbers)) $this->numbers[] = $num;
    }
    return $this;
}
body() - Identify SMS Content submit() - Send SMS

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top

New Year's Special Discount

"Startup Lifetime" and "Professional Lifetime" licenses are 30% off!

Coupon Code:
HAPPYYEARS30 Copied!
Discount Rate 30%
Expiration Date December 31, 2024