Changeset 2639433
- Timestamp:
- 12/04/2021 10:31:42 AM (4 years ago)
- Location:
- helloadherents/trunk
- Files:
-
- 2 edited
-
HelloAdherents.php (modified) (4 diffs)
-
functions/output/mailchimp_api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
helloadherents/trunk/HelloAdherents.php
r2638215 r2639433 39 39 if ($helloadhrents_options['google_group_option'] == true) { 40 40 helladh_google_api($info_adherent); 41 } else {42 return;43 41 } 44 42 … … 46 44 if ($helloadhrents_options['mailchimp_group_option'] == true) { 47 45 helladh_mailchimp_api($info_adherent); 48 } else {49 return;50 46 } 51 47 … … 54 50 if ($helloadhrents_options['wordpress_users_group_option'] == true) { 55 51 helladh_wordpress_users($info_adherent); 56 } else {57 return;58 52 } 59 53 … … 63 57 $function = $helloadhrents_options['custom_function']; 64 58 $function($info_adherent); 65 } else { 66 return; 67 } 59 } 68 60 } 69 61 -
helloadherents/trunk/functions/output/mailchimp_api.php
r2637821 r2639433 51 51 switch( current_filter() ) { 52 52 case 'wp_ajax_ajax_helladh_test_api_mailchimp': 53 echo("<strong>Réponse mailchimp ajout/MAJ contact pour " . esc_attr($adh[mail]) . " :</strong> " . wp_kses_post(print_r($json , true)));53 echo("<strong>Réponse mailchimp ajout/MAJ contact pour " . esc_attr($adh[mail]) . " :</strong> " . wp_kses_post(print_r($json->merge_fields, true))); 54 54 break; 55 55 } 56 56 57 helladh_write_log("Réponse mailchimp ajout/MAJ contact pour " . $adh[mail] . " : " . print_r($json , true));57 helladh_write_log("Réponse mailchimp ajout/MAJ contact pour " . $adh[mail] . " : " . print_r($json->merge_fields, true)); 58 58 59 59
Note: See TracChangeset
for help on using the changeset viewer.