Email_Abstract::get_post_type_data()
Get the post_type data for this email.
Return
(array)
Source
File: src/Tickets/Emails/Email_Abstract.php
public function get_post_type_data(): array {
$data = [
'slug' => $this->slug,
'title' => $this->get_title(),
'template' => $this->template,
'to' => $this->get_to(),
];
return $data;
}
Changelog
| Version | Description |
|---|---|
| 5.5.10 | Introduced. |