Email_Abstract::hook()
Handles the hooking of a given email to the correct actions in WP.
Source
File: src/Tickets/Emails/Email_Abstract.php
public function hook() {
$default_placeholders = [
'{site_title}' => $this->get_blogname(),
'{site_address}' => wp_parse_url( home_url(), PHP_URL_HOST ),
'{site_url}' => wp_parse_url( home_url(), PHP_URL_HOST ),
];
$this->set_placeholders( $default_placeholders );
}
Changelog
| Version | Description |
|---|---|
| 5.5.9 | Introduced. |