/** * Constructor */ public function __construct() { $this->id = 'new_user_account'; $this->title = __('New user account', 'welcome-buddy'); $this->description = __('New user account emails are sent to the user when they sign up via the BuddyPress registration page.', 'welcome-buddy'); $this->template_html = 'new-user-account.php'; $this->template_plain = 'plain/new-user-account.php'; $this->subject = __('Welcome to {site_title}', 'welcome-buddy'); $this->heading = __('Welcome to {site_title}', 'welcome-buddy'); // Call parent constuctor parent::__construct(); }