$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; } ?> Facts about Mr Kovind President of India | Amazing Facts

Amazing & interesting Facts about India’s 14 th President Mr Ram Nath Kovind

Amazing Facts

1. Mr Ram Nath Kovind was born on 01st October 1945 at Derapur, a town in Kanpur Dehat district in the state of Uttar Pradesh.

2. After completing his schooling, Mr Kovind has completed his bachelor’s degrees both in commerce and law from Kanpur University. historical facts about Mr govind 14 president of republic india

3. Mr Kovind cleared prestigious UPSC exam but refused to join as he was selected for allied service rather IAS.

 4. Mr Kovind has started his carrier as an Advocate, by enrolling with the bar council of Delhi in 1971. He was advocating for central government in the Delhi court from 1977 to 1979 and from 1978 onwards he became the advocate on record with the Supreme Court of India. Further, he participated in the high court of Delhi and in the supreme court of India for 16 years until 1993.

5. Mr Kovind has become Rajya Sabha MP in April 1994 from Uttar Pradesh and served for two consecutive terms for 12 years until March 2006.

6. Mr Kovind has also served as member on several important parliamentary committees, where some of the important committees are

• Parliamentary committee on Home affairs,
• Parliamentary committee on petroleum and natural gas,
• Parliamentary committee on law and justice.

7. Mr Kovind has served as a board member at Dr B.R. Ambedkar University in Luknow and the Indian Institute of Management in Kolkatta

historical facts about Mr kovind
8. Mr Kovind has represented India in UN and addressed the United Nations general assembly in October 2002.

9. Mr Kovind has been appointed as Governor of Bihar by the President of India on 08th August 2015 and on 16th August 2015 the acting Chief Justice of Patna High Court Mr Iqbal Ahmad Ansari administered the oath to Mr Kovind as 36th Governor of Bihar.

facts about Mr Ram nath kovind10. Mr Kovind has secured a clear majority in winning the presidential election and taking over as 14th President of republic India. He was the second Dalit President of India after KR Narayanan.

11. Mr Kovind will be the 1st president of republic India from Uttar Pradesh a state that has given nine prime ministers to the country till date.

 

Next