$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 international yoga day.. | Amazing Facts

Amazing facts about international yoga day

Amazing Facts

international-yoga-day01.June 21 was declared as the International Day of Yoga by the United Nations General Assembly on December 11, 2014 which is now being celebrated as Yoga Day, World Yoga Day or UN International Yoga Day. Yoga is basically a physical, mental and spiritual practice, which aids in shifting gears of the body and the mind into a positive direction.

International-Yoga-Day-Quote1-Yogaunited.org_02. United Nations declared Yoga day after the initiation of Indian Prime Minister Narendra Modi during his UN General Assembly address dated on September 27, 2014.

03. More than 177 countries supported International Day of Yoga whereas 175 countries are co-sponsoring the resolution, which is the highest number of co-sponsor in any United National General Assembly resolutions of this kind.

04. It was the Nepal Prime Minister Sushil Koirala, who first supported Mr. Modi for his unique proposal

05. The initiative has been proposed and implemented by any country in the UN body in less than 90 days, which is also the first time in the history of UN General Assembly.June-21-International-Yoga-Day

06. International Yoga Day is being celebrated on June 21st, which is the Summer Solstice, the longest day in many parts of the world with special significance.

07. It is also called Yoga Day, World Yoga Day, UN International Yoga Day.

08. Now onward, it will be an annual feature and will be related to World Heath Day.

09. Ministry of AYUSH (Ayurveda, Yoga & Naturopathy, Unani, Siddha and Homeopathy), Govt. of India is the nodal agency to coordinate different activities related with International Yoga Day in india.

10. The Logo of IDY reflects harmony and peace for humanity, which is the essence of Yoga.

yoga11. More than 100 cities in United States of America will host a ‘Yogathon’ on International Yoga Day

On the day of international yoga day we would like to share some of the benefits of yoga..

yoga-accepts-yoga-gives

01. Practicing yoga can enhance the mood of a person. Breath is an indicator of mood. Yoga is all about changing the breathing patterns and inhaling and exhaling in rhythm with the postures. Breathing in patterns can lift up the mood of a person.

02. Yoga increases one’s life span. Yoga aids in expanding the lungs and benefits the heart. Thus, people who practice yoga live longer than those who do not.

03.Yoga can heal so many disease

yoga-poseso on the auspicious international yoga day we make pledge at least 45 min daily yoga to keep our mind mentally and body physically fit..