$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 & Interesting Facts About Human Eye | Amazing Facts

Interesting Facts about Human Eyes

Amazing Facts

Amazing & interesting facts about human eyes01. Your eyeballs stay the same size from birth to death, while your nose and ears continue to grow.

02. An eye is composed of more than 2 million working parts.

03. Only 1/6 of the human eyeball is exposed.

Amazing facts about human eye

Amazing facts about human eye

04. Corneas are the only tissues that don’t have blood.

05. The human eye weights approximately just under an ounce and is about an inch across.

06.  More than 1 million nerve fibers connect each eye to the brain and currently we’re not able to reconstruct those connections.

amazing and interesting facts about juman eye07. 80% of our memories are determined by what we see.

08. Eyes heal quickly. With proper care, it takes only about 48 hours to repair a minor corneal scratch.

09. There are about 39 million people  are blind around the world.

10. 80% of vision problems worldwide are avoidable or even curable.

11. Humans and dogs are the only species known to seek visual cues from another individual’s eyes, and dogs only do this when interacting with humans.

Amazing Facts about human eyes12. A fingerprint has 40 unique characteristics, but an iris has 256, a reason retina scans are increasingly being used for security purposes.

13. People who are blind can see their dreams if they weren’t born blind.

Amazing & interesting facts about Human eyes14. “Red eye” occurs in photos because light from the flash bounces off the back of the eye. The choroid is located behind the retina and is rich in blood vessels, which make it appear red on film.15. 80% of what we learn is through our eyes.

16. Eyes are the second most complex organ after the brain.

Next