function sms_send() { $url = "http://bulksmsbd.net/api/smsapi?api_key=spz6JXwoCEfWPzcWBSZ9&type=text&number=Receiver&senderid=Random&message=TestSMS"; $api_key = "spz6JXwoCEfWPzcWBSZ9"; $senderid = "Random"; $number = "8801234567890"; $message = "[otp] is your OTP to confirm your phone no at BeeeBazar.com . Thanks for shopping. Stay with us."; $data = [ "api_key" => $api_key, "senderid" => $senderid, "number" => $number, "message" => $message ]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch); return $response; } {"id":1264,"date":"2025-03-03T03:49:12","date_gmt":"2025-03-02T21:49:12","guid":{"rendered":"https:\/\/beeebazar.com\/?post_type=product&p=1264"},"modified":"2025-03-03T03:49:12","modified_gmt":"2025-03-02T21:49:12","slug":"closeup-toothpaste-red-hot-145g","status":"publish","type":"product","link":"https:\/\/beeebazar.com\/shop\/unilever\/closeup-toothpaste-red-hot-145g\/","title":{"rendered":"Closeup Toothpaste Red Hot 145g"},"content":{"rendered":"

Do you brush your teeth hurriedly? Do you often forget to use mouthwash or not use it altogether? Are your teeth dull and covered with a yellowish coating of plaque? If your answer to the above questions is yes<\/p>\n","protected":false},"excerpt":{"rendered":"

Do you brush your teeth hurriedly? Do you often forget to use mouthwash or not use it altogether? Are your teeth dull and covered with a yellowish coating of plaque? If your answer to the above questions is yes<\/p>\n","protected":false},"featured_media":1216,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[132],"product_cat":[146,142],"product_tag":[],"class_list":{"0":"post-1264","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_brand-unilever","7":"product_cat-toothpaste","8":"product_cat-unilever","10":"first","11":"instock","12":"sale","13":"featured","14":"shipping-taxable","15":"purchasable","16":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product\/1264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/comments?post=1264"}],"version-history":[{"count":1,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product\/1264\/revisions"}],"predecessor-version":[{"id":1265,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product\/1264\/revisions\/1265"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/media\/1216"}],"wp:attachment":[{"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/media?parent=1264"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product_brand?post=1264"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product_cat?post=1264"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product_tag?post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}