$post->ID, "sharelink" => $fields['url']); $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $fields_dup['big_picture'] = $url; $fields_dup['small_icon'] = 'icon'; $fields_dup['large_icon'] = 'icon'; $fields_dup['buttons'] = '[{"id": "id1", "text": "Read Post", "icon": "ic_menu_view"}, {"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"; $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); $response = curl_exec($ch); curl_close($ch); return $fields; } ?> Luca Cadelano - Basket Serramanna
 | Pol. Atletica Serramanna | Luca Cadelano

Luca Cadelano

Profilo giocatore

  • Data di nascita:
    13 November 1979
  • Altezza:
    1,74m
  • Peso:
    70kg
  • Squadra:
    Pol. Atletica Serramanna
  • Ruolo:
    Play/Guardia
  • Numero:
    13
Share now

luca-cadelano