$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; } ?> Amazing facts about Human kidney | Amazing Facts

Amazing stunning facts about Human kidney

Amazing Facts
01. The blood flow in kidneys is higher than the blood flow in heart, liver and brain.

healthykidneys02. Kidneys measure around 4.5 inches in length.

03. Kidneys are no bigger than a standard computer mouse or a cell phone.

04. Each individual kidney weighs around 4-6 ounces.

05. In case of new born human babies, the kidney to body weight ratio is 3 times the kidney to body weight ratio in adults.

06. In case of adults, kidneys form only 0.5% of the entire body weight.

one kidney07. Exactly half of one single kidney is capable of doing the job that is performed by two kidneys together.

nephrons08. Each individual kidney consists of at least 1 million and up to 2 million Nephrons. Nephrons are nothing but very tiny filters that are capable of filtering blood and eliminating the waste materials.

red blood cell09. In a single hour, kidneys receive around 120 pints of blood.

10. Though the kidneys weigh on 0.5% of the entire body weight, they actually receive more arterial blood compared to other organs in body. Almost 25% of the blood pumped by the heart goes to the kidneys.

kidney-disease11. Once a person reaches the age of 40, the number of functional Nephrons present in each kidney start falling at a rate of 1% a year.

12. Despite the decline in the number of functional Nephrons in kidneys after the age of 40, the kidneys continue to function normally because the Nephrons have a tendency of enlarging once the demise begins.

To Know More Click Next