RSVP::maybe_include_styles( Tribe__Template $et_template )
Maybe include the styles for the RSVP email.
Contents
Parameters
- $et_template
-
(Tribe__Template) (Required)
Source
File: src/Tickets_Plus/Emails/Email/RSVP.php
public function maybe_include_styles( $et_template ) {
$args = $et_template->get_local_values();
$email = $args['email'];
// Bail out if the email is not a RSVP email or if the ticket email settings are being used.
if ( ! $email instanceof RSVP_Email ) {
return;
}
$this->render_styles( $args );
}
Changelog
| Version | Description |
|---|---|
| 5.7.3 | Introduced. |