Notice_Extension::notice()
HTML for the notice for sites using the Event Tickets Email Settings extension.
Return
(string)
Source
File: src/Tickets/Emails/Admin/Notice_Extension.php
public function notice(): string {
$link = sprintf(
'<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>',
'https://evnt.is/1arx',
esc_html_x( 'Learn More', 'Extension notice for Tickets Emails.', 'event-tickets' )
);
return '<strong>' . esc_html__( 'Ticket Email Settings extension is no longer supported', 'event-tickets' ) . '</strong>' .
'<br />' .
sprintf(
_x( 'We noticed you have the Ticket Email Settings extension active. The settings from the extension, living in the "Ticket Emails" tab, will no longer affect email functionality, and the extension will no longer be supported. Please be sure you configure your emails from the "Emails" tab. %1$s.', 'extension usage notice for tickets emails', 'event-tickets' ),
$link
);
}
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |