id = Emails::COMPLETED_EMAIL_ID; $this->title = __( 'Better Payment Subscription Completed', 'better-payment' ); $this->description = __( 'Sent to the customer when their Better Payment subscription completes — no further payments will be charged.', 'better-payment' ); parent::__construct(); } /** * The notification hook Emails::notify() fires for this email. * * @return string */ protected function notification_hook() { return Emails::COMPLETED_NOTIFICATION; } /** * Default subject line. * * @return string */ public function get_default_subject() { return __( 'Your {site_title} subscription (order {order_number}) is complete', 'better-payment' ); } /** * Default email heading. * * @return string */ public function get_default_heading() { return __( 'Subscription completed', 'better-payment' ); } /** * Default closing copy (editable per-email in the settings row). * * @return string */ public function get_default_additional_content() { return __( 'Thank you for subscribing with us. You can start a new subscription from our store at any time.', 'better-payment' ); } }