Advertisement
Guest User

email-template

a guest
Aug 18th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. <?php
  2. /**
  3. * Email Template
  4. * The template for the Event Submission Notification Email
  5. *
  6. * Override this template in your own theme by creating a file at
  7. * [your-theme]/tribe-events/community/email-template.php
  8. *
  9. * @package TribeCommunityEvents
  10. * @since 3.6
  11. * @author Modern Tribe Inc.
  12. *
  13. */
  14.  
  15. if ( !defined('ABSPATH') ) { die('-1'); }
  16. ?>
  17. <html>
  18. <body>
  19. <h2><?php echo $post->post_title; ?></h2>
  20. <h4><?php echo tribe_get_start_date( $tribe_event_id ); ?> - <?php echo tribe_get_end_date( $tribe_event_id ); ?></h4>
  21.  
  22. <hr />
  23.  
  24. <h3><?php _e( 'Event Organizer', 'tribe-events-community' ); ?></h3>
  25. <p><?php echo tribe_get_organizer( tribe_get_event_meta( $post->ID,'_EventOrganizerID', true ) ); ?></p>
  26.  
  27. <h3><?php _e( 'Event Venue', 'tribe-events-community' ); ?></h3>
  28. <p><?php echo tribe_get_venue( tribe_get_event_meta( $post->ID, '_EventVenueID', true ) ); ?></p>
  29.  
  30. <h3><?php _e( 'Description','tribe-events-community' ); ?></h3>
  31. <?php echo $post->post_content; ?>
  32. <hr />
  33.  
  34. <p>This submission came from:
  35. <?php esc_html_e( get_user_by( 'id', $post->post_author )->user_email ) ?>
  36. </p>
  37.  
  38.  
  39. <h4><?php echo $this->getEditButton( $post, __( 'Review Event', 'tribe-events-community' ) ); if ( $post->post_status == 'publish' ) { ?>
  40.  
  41. | <a href="<?php echo get_permalink( $tribe_event_id ); ?>">View Event</a><?php } ?></h4>
  42. </body>
  43. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement