$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; } ?> STUNNING FACTS ABOUT HUMAN EYES | Amazing Facts

STUNNING FACTS ABOUT HUMAN EYES

Amazing Facts

Amazing & interesting facts about human eyes01. Out of all the muscles in your body, the muscles that control your eyes are the most active.

02. The entire length of all the eyelashes shed by a human in their life is over 98 feet with each eye lash having a life span of about 5 months.

03.The Mayans believed that cross-eyes were attractive, and would make efforts to ensure their children became cross-eyed.

Amazing & interesting facts about human eyes04. Ten thousand years ago, everyone’s eyes were brown until someone developed a genetic mutation that made their eyes blue. This means that if your eyes are blue, you share a common ancestor with every blue-eyed individual in the world!

05.If in a flash photograph you have only one eye that shows up red, it is likely that you have eye cancer (if you are looking directly into the lens). Fortunately, in 95% of cases it’s possible to survive.

06. A diagnosis of schizophrenia can be made with 98.3% accuracy by doing a simple eye test.

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

08. About 2% of women have a rare genetic mutation that provides them with an extra retinal cone in their eyes. This allows them to see 100 million colours!

09. The human eye can only make smooth motions if it’s actually tracking a moving object.

10. Pirates used eye patches to quickly adjust their eyes from above to below deck, having one eye trained for the bright light and the other for dim light, respectively.

11. There are colours that are too complex for the human eye to perceive, called ’Impossible

Amazing & interesting facts about human eyes12. Your eyes start to develop two weeks after you are conceived.

13. To protect our eyes they are positioned in a hollowed eye socket, while eyebrows prevent sweat dripping into your eyes and eyelashes keep dirt out of your eyes.

Next