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

Amazing facts about Human Bone…

Amazing Facts
human-skelton

1.Cracking your knuckles will not increase the risk of arthritis. Although bones appear very hard from outside, inside they look spongy, filled with lots of air.

2. Adult human body has 206 bones in the skeleton. These are grown together from about 300 bones at birth!

3. Skull has only one moving part – the mandible (the lower jaw bone).

4. Skull is made up of 22 different bones which grow together during childhood.

5. Almost half of all bones in human body are in hands and feet, which allows a great variety of movement.

6. The Hyoid bone, in your throat, is the only joint less bone in your body, not attached to other bone.

a-pregnant-women7. During pregnancy, the hormone relaxin extends a bit the ligaments, thus permitting the bones of the pelvis to relax for the birth.

8.The longest bone in the body is the femur, connecting the pelvis to the knee.

9. The hardest bone in the human body is the jawbone.

10. Bones in an adult account for 14% of the body’s total weight.

11. 14 bones make up the human face.

12. The smallest bone is the stapes, which in Latin means stirrup. Located in the middle ear, it only measures 0.1 inches (0.25 cm).

human-skelton13. Bones are broken down and remade constantly, just like skin. All the bones are slowly replaced until they are new bone once every 7 years!

14. Every second, bone marrow produces two million red blood cells.

15.We are almost half inch (1 cm) shorter in the evening than in the morning, due to squeezing the cartilage between our bones while standing and sitting.

16. The human body has 230 movable and semi-movable joints.