When i add the code it don’t work. This is my code:
add_filter(‘birchschedule_icalendar_get_appointment1on1_description_template’,
‘birchschedule_cc_icalendar_get_appointment1on1_description_template’);
function birchschedule_cc_icalendar_get_appointment1on1_description_template($template) {
return “APPOINTMENT DETAILS \n” .
“Wat: {service_name} \n” .
“Verkoper: {staff_name} \n” .
“Wanneer: {datetime} \n” .
“Adres: {field_6}, {field_11} \n” .
“CLIENT DETAILS \n” .
“Naam/namen: {client_name} \n” .
“Email: {client_email} \n” .
“Telefoonnummer: {client_phone} \n” .
“Feestdatum: {field_4} \n” .
“Soort feest: {field_9} \n” .
“Overige: {field_12} \n” .
“Afspraak details: {appointment_notes} \n”.
“Afspraak annuleren: {cancel_url} \n”.
“Afspraak wijzigen: {reschedule_url} \n”;
}
<?php
add_filter(‘birchschedule_enotification_has_attachment’, ‘birchschedule_cc_enotification_has_attachment’, 10, 3);
function birchschedule_cc_enotification_has_attachment($has, $to, $template_name) {
return false;
}
?>