Changeset 3366240
- Timestamp:
- 09/23/2025 06:49:06 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
moceansms-order-sms-notification-for-woocommerce/trunk/admin/class-moceansms-woocommerce-setting.php
r3365523 r3366240 473 473 try { 474 474 $this->log->add("MoceanSMS", "Running scheduled checking domain task."); 475 $response _code = wp_remote_retrieve_response_code( wp_remote_get("https://rest.moceanapi.com/rest/2/account/balance"));475 $response = wp_remote_get("https://rest.moceanapi.com/rest/2/account/balance"); 476 476 // successfully reached our domain 477 if ($response_code === 400) {477 if (!is_wp_error($response)) { 478 478 update_option("moceansms_domain_reachable", true); 479 479 $this->log->add("MoceanSMS", "Domain is reachable. Will be using domain.");
Note: See TracChangeset
for help on using the changeset viewer.