Skip to content

Instantly share code, notes, and snippets.

@joshfeck
Created July 11, 2019 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshfeck/193bd738f9f2958e57386f075305471f to your computer and use it in GitHub Desktop.
Save joshfeck/193bd738f9f2958e57386f075305471f to your computer and use it in GitHub Desktop.
Event Espresso 4, remove copy attendee info template
<?php
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
add_filter(
'FHEE__EEH_Template__locate_template__full_template_paths',
'my_copy_attendee_info_template_do_not_load',
10,
2
);
function my_copy_attendee_info_template_do_not_load(
$full_template_paths,
$file_name
) {
if( $file_name == 'copy_attendee_info.template.php') {
return;
}
return $full_template_paths;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment