Skip to content

Instantly share code, notes, and snippets.

@benheu
Created July 24, 2023 22:43
Show Gist options
  • Save benheu/133565d3a0507921d6c26565e7acc295 to your computer and use it in GitHub Desktop.
Save benheu/133565d3a0507921d6c26565e7acc295 to your computer and use it in GitHub Desktop.
All kinds of filters for Wappointment
<?php
add_filter('wappointment_admin_email_head_image', 'my_wappointment_admin_email_head_image', 10, 1);
function my_wappointment_admin_email_head_image($value){
return 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_light_color_272x92dp.png';
}
add_filter('wappointment_admin_email_head_link', 'my_wappointment_admin_email_head_link', 10, 1);
function my_wappointment_admin_email_head_link($value){
return 'https://www.google.com';
}
function wappointment_replyto_email($value)
{
return 'mytestemail@email.com';
}
add_filter('wappointment_replyto_email', 'wappointment_replyto_email', 10, 1);
function wappointment_replyto_name($value)
{
return 'My name';
}
add_filter('wappointment_replyto_name', 'wappointment_replyto_name', 10, 1);
function wappointment_ics_signature($value) {
return true;
}
add_filter( 'wappointment_ics_signature', 'wappointment_ics_signature', 10, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment