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":1262,"date":"2025-03-03T03:38:26","date_gmt":"2025-03-02T21:38:26","guid":{"rendered":"https:\/\/beeebazar.com\/?post_type=product&p=1262"},"modified":"2025-03-03T03:38:26","modified_gmt":"2025-03-02T21:38:26","slug":"lifebuoy-handwash-soap-total-pump-200ml","status":"publish","type":"product","link":"https:\/\/beeebazar.com\/shop\/unilever\/lifebuoy-handwash-soap-total-pump-200ml\/","title":{"rendered":"Lifebuoy Handwash (Soap) Total Pump 200ml"},"content":{"rendered":"
Hand washing with soap is the best way to avoid infections and keep your family healthy. However, ordinary soap may be harsh on skin and repeated hand washing may leave your hands dry and damaged.<\/p>\n","protected":false},"excerpt":{"rendered":"
Hand washing with soap is the best way to avoid infections and keep your family healthy. However, ordinary soap may be harsh on skin and repeated hand washing may leave your hands dry and damaged.<\/p>\n","protected":false},"featured_media":1217,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[132],"product_cat":[145,142],"product_tag":[],"class_list":{"0":"post-1262","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_brand-unilever","7":"product_cat-handwash","8":"product_cat-unilever","10":"first","11":"instock","12":"sale","13":"shipping-taxable","14":"purchasable","15":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product\/1262","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=1262"}],"version-history":[{"count":1,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product\/1262\/revisions"}],"predecessor-version":[{"id":1263,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product\/1262\/revisions\/1263"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/media\/1217"}],"wp:attachment":[{"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/media?parent=1262"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product_brand?post=1262"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product_cat?post=1262"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/beeebazar.com\/wp-json\/wp\/v2\/product_tag?post=1262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}