$fields['url']);*/ $fields_dup['data'] = array("postid" => $post->ID, "sharelink" => $fields['url']); $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $fields_dup['big_picture'] = $url; $fields_dup['buttons'] = '[{"id": "id1", "text": "Settings", "icon": "ic_menu_manage"}, {"id": "id2", "text": "Share", "icon": "ic_menu_share"}]'; unset($fields_dup['url']); /* Send another notification via cURL */ $ch = curl_init(); $onesignal_post_url = "https://onesignal.com/api/v1/notifications"; /* Hopefully OneSignal::get_onesignal_settings(); can be called outside of the plugin */ $onesignal_wp_settings = OneSignal::get_onesignal_settings(); $onesignal_auth_key = $onesignal_wp_settings['app_rest_api_key']; curl_setopt($ch, CURLOPT_URL, $onesignal_post_url); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Authorization: Basic ' . $onesignal_auth_key )); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields_dup)); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Optional: Turn off host verification if SSL errors for local testing // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); /* Optional: cURL settings to help log cURL output response curl_setopt($ch, CURLOPT_FAILONERROR, false); curl_setopt($ch, CURLOPT_HTTP200ALIASES, array(400)); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_STDERR, $out); */ $response = curl_exec($ch); /* Optional: Log cURL output response fclose($out); $debug_output = ob_get_clean(); $curl_effective_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL); $curl_http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); $curl_total_time = curl_getinfo($ch, CURLINFO_TOTAL_TIME); onesignal_debug('OneSignal API POST Data:', $fields); onesignal_debug('OneSignal API URL:', $curl_effective_url); onesignal_debug('OneSignal API Response Status Code:', $curl_http_code); if ($curl_http_code != 200) { onesignal_debug('cURL Request Time:', $curl_total_time, 'seconds'); onesignal_debug('cURL Error Number:', curl_errno($ch)); onesignal_debug('cURL Error Description:', curl_error($ch)); onesignal_debug('cURL Response:', print_r($response, true)); onesignal_debug('cURL Verbose Log:', $debug_output); } */ curl_close($ch); return $fields; } ?> Statistical Amazing facts about human body | Amazing Facts

Statistical Amazing Facts about human Kidney…

Amazing Facts

01. Pancreas are stimulated by sugar to produce insulin that keeps sugar levels at check. If the sugar level in body increases, excess insulin is produced. This forces the body to excrete extra calcium through urine, which is yet another cause of kidney stones.

kidneys02. Throughout the day, the kidneys filter and produce around 1000 to 2000 milliliters of urine. So in general we excrete around 1.5 liter urine on an average in a single day.

03. Malfunctioning kidneys can lead to the development of anemia. Studies reveal that most anemic patients usually suffer from some kind of kidney disease.

04. Kidney disease can never be reversed. Its progression can only be slowed down.

05. High BP and diabetes can both lead to failure of kidneys.

kidney-disease06. When the kidney functions are completely lost, it is known as ESRD or End Stage Renal Disease.

07. People suffering with ESRD can live longer with help of kidney transplant or dialysis.

08. The first ever kidney transplant was conducted by Yuri Voronoy, a Russian surgeon in year 1933. The transplant failed.

09. The first ever successful kidney transplant was conducted by Dr. Joseph E. Murray in December 1954. The transplant was between two identical twins. The operation took place in Massachusetts at Peter Bent Brigham Hospital.

10. Nearly 500 million people globally (which nearly 10% of global adult population) suffer from some kind of kidney problem/damage. This leads or millions of premature death every year because of Chronic Kidney disease induced cardiovascular diseases.

11. Nearly 1.5 million globally go through kidney transplant or kidney dialysis.