Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Email
  5. Filter :apply_filters( wp_travel_email_template, $email_template, $type, $sent_to )

Filter :apply_filters( wp_travel_email_template, $email_template, $type, $sent_to )

WP Travel email data like header, content etc.

Active Since v1.8.0


File: /inc/class-email-template.php
Used by: /inc/class-email-template.php

$email_template, $type, $sent_to


function prefix_wp_travel_email_template( $email_template, $type, $sent_to ) {
    $email_template[‘mail_content’] = ‘Email Content’;
    return $email_template;
add_filter( 'wp_travel_email_template', 'prefix_wp_travel_email_template', 12, 3 );
Was this article helpful to you? Yes No

How can we help?