LLMS_Settings_Engagements::get_settings_group_email()
Retrieve fields for the email settings group.
Return Return
(array[])
Source Source
File: includes/admin/settings/class.llms.settings.engagements.php
protected function get_settings_group_email() { return $this->generate_settings_group( 'email_options', __( 'Email Settings', 'lifterlms' ), __( 'Settings for all emails sent by LifterLMS. Notification and engagement emails will adhere to these settings.', 'lifterlms' ), array( array( 'title' => __( 'Sender Name', 'lifterlms' ), 'desc' => __( 'Name to be displayed in From field.', 'lifterlms' ), 'id' => 'lifterlms_email_from_name', 'type' => 'text', 'default' => esc_attr( get_bloginfo( 'title' ) ), ), array( 'title' => __( 'Sender Email', 'lifterlms' ), 'desc' => __( 'Email Address displayed in the From field.', 'lifterlms' ), 'id' => 'lifterlms_email_from_address', 'type' => 'email', 'default' => get_option( 'admin_email' ), ), array( 'title' => __( 'Header Image', 'lifterlms' ), 'id' => 'lifterlms_email_header_image', 'type' => 'image', 'default' => '', 'autoload' => false, ), array( 'title' => __( 'Email Footer Text', 'lifterlms' ), 'desc' => __( 'Text you would like displayed in the footer of all emails.', 'lifterlms' ), 'id' => 'lifterlms_email_footer_text', 'type' => 'textarea', 'default' => '', ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.3 | Introduced. |