$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; } ?> 15 Statistical Facts About Human Eye... | Amazing Facts

15 Statistical Facts About Human Eye…

Amazing Facts
15 statiscal facts about human eye
1.The pupil of your eye expands as much as 45% when you look at someone you love.

2. Human corneas are so similar to shark corneas that they have been used as a replacement in human eye surgery.

3. Each eye contains 107 million cells, and all of them are light sensitive.

4. One in every 12 males is colour blind.
kids facts about human eye5. The human eye only sees three colours: red, blue and green. All other colours are combinations of these.

6.Your eyes are about 2.5 cm across and weight about 8 grams.

7. Only one sixth of the human eyeball is exposed.

8. In an average lifetime, eyes see 24 million different images.

9. While a fingerprint has 40 unique characteristics, an iris has 256. This is why retina scans are increasingly being used for security purposes.

10 People say ’in the blink of an eye’ because it’s the fastest muscle in the body. A blink usually lasts 100 to 150 milliseconds, and it’s possible to blink five times in a second.
amazing facts and interesting facts about human eye11.The eyes on average blink 17 times per minute, 14,280 times per day, and 5.2 million times per year.

12. Eyes can process about 36,000 bits of information each hour.

13. Brown eyes are actually blue underneath the brown pigment, and as a result there exists a laser procedure to turn brown eyes blue permanently.

14. Your eye will focus on about 50 things per second.

15. The images which our eyes send to our brains are actually sent backwards and upside down.

Next