$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 flowers but strange around the world | Amazing Facts

Some Amazing flowers, but strange around the world…..

Amazing Facts

hooker-lips1.HOOKER LIPS  These gorgeous pair of red, luscious lips belong to a plant known as Psychotic elate, a tropical tree found in the rain forests of Central and South American countries like Colombia, Costa Rica, Panama and Ecuador. Affectionately, Psychotic elate is called Hooker’s Lips or the Hot Lips Plants. The plant has apparently evolved into its current shape to attract pollinators including hummingbirds and butterflies. The bracts are only kissable for a short while, before they spread open to reveal the plant’s flowers.

FLYING-DUCK-ORCHID2.Beautiful FLYING DUCK ORCHID…Caleana major, the Flying Duck Orchid is a small orchid found in eastern and southern Australia. This terrestrial plant features a remarkable flower , resembling a duck in flight. The flower is an attractant to insects, such as male sawflies which pollinate the flower in a process.Its length and breadth serve as a landing pad for sawflies, the insects which usually pollinate this flower, and if any bugs have problems figuring out where the pollen is, it points them the right way. When a sawfly lands on the column of the Flying Duck Orchid, its weight forces the labellum to spring down on it. The insect is trapped and the only way out is via the pollen..

Beautiful-Dancing-Girl-Orchids3.Oncidium…Beautiful Dancing Girl Orchids
The Oncidium family is very large and includes many flower varieties. The most common flower variety is often referred to as the “dancing lady”.Oncidium types that have thin leaves, pseudobulbs, and branching sprays with flowers colored in yellow and mahogany…..