$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 heart | Amazing Facts

Amazing facts about human heart

Amazing Facts

heart-and-cardiogram1.The average adult heart beats 72 times a minute; 100,000 times a day; 3,600,000 times a year; and 2.5 billion times during a lifetime.

2. Though weighing only 11 ounces on average, a healthy heart pumps 2,000 gallons of blood through 60,000 miles of blood vessels each day.

3. A kitchen faucet would need to be turned on all the way for at least 45 years to equal the amount of blood pumped by the heart in an average lifetime.

human-heart4.The volume of blood pumped by the heart can vary over a wide range, from five to 30 liters per minute.

5. Every day, the heart creates enough energy to drive a truck 20 miles. In a lifetime, that is equivalent to driving to the moon and back.

6.Because the heart has its own electrical impulse, it can continue to beat even when separated from the body, as long as it has an adequate supply of oxygen.

Stethoscope7. French physician Rene Laennec (1781-1826) invented the stethoscope when he felt it was inappropriate to place his ear on his large-buxomed female patients’ chests.

8. The fetal heart rate is approximately twice as fast as an adult’s, at about 150 beats per minute. By the time a fetus is 12 weeks old, its heart pumps an amazing 60 pints of blood a day.

9. The heart pumps blood to almost all of the body’s 75 trillion cells. Only the corneas receive no blood supply.

human-heart-with-parts10. During an average lifetime, the heart will pump nearly 1.5 million barrels of blood—enough to fill 200 train tank cars.

11.Five percent of blood supplies the heart, 15-20% goes to the brain and central nervous system, and 22% goes to the kidneys.

12. The “thump-thump” of a heartbeat is the sound made by the four valves of the heart closing.

13. The heart does the most physical work of any muscle during a lifetime. The power output of the heart ranges from 1-5 watts. While the quadriceps can produce 100 watts for a few minutes, an output of one watt for 80 years is equal to 2.5 Giga joules.

NEXT