Created
July 11, 2019 16:00
-
-
Save joshfeck/193bd738f9f2958e57386f075305471f to your computer and use it in GitHub Desktop.
Event Espresso 4, remove copy attendee info template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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