Changeset 2582054
- Timestamp:
- 08/12/2021 01:24:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
myticket-events/trunk/inc/class-myticket-events.php
r2581895 r2582054 330 330 } 331 331 332 // send out individual emails to participants332 // send out individual emails to participants 333 333 public function process_qrcode_email( $order_id ){ 334 334 … … 336 336 $override_template_path = get_template_directory() . "/" . MYTICKET_SLUG . "/email-individual/index.php"; 337 337 if ( file_exists($override_template_path) ){ 338 return require_once $override_template_path;338 return include $override_template_path; 339 339 }else{ 340 return require_once MYTICKET_PATH . 'templates/email-individual/index.php';340 return include MYTICKET_PATH . 'templates/email-individual/index.php'; 341 341 } 342 342 }
Note: See TracChangeset
for help on using the changeset viewer.