Свойство | Type | Description | |
---|---|---|---|
$instance | Singleton |
Méthode | Description | |
---|---|---|
__construct ( ) | Checks settings, and hooks into phpmailer if everything is good. | |
check_headers ( array $atts ) : array | Filter for wp_mail used for introspection | |
get_from ( $from ) : string | Callback for wp_mail_from filter. | |
get_from_name ( $from_name ) : string | Callback for wp_mail_from_name filter Applies the from name constant if a "From" header was not present. | |
instance ( ) : object | Get this plugin's main class instance | |
launch ( ) | Self Instantiate Note: Plugin can be disable internally by setting GLOBAL_SMTP_DISABLE to true. | |
mailer ( $phpmailer ) | Hook PHP Mailer to use our SMTP settings | |
register_admin_menu ( ) : none | Register our admin menu in the correct context. | |
render_admin_page ( ) : none | Display the admin page |
Méthode | Description | |
---|---|---|
prepare_settings ( ) | Prepare PHP Mailer settings. Allows for minimum configuration by asumming common defualts. | |
validate ( ) : boolean | WP_Error | Validate Configuration to ensure things are setup correctly |
public __construct ( ) |
public check_headers ( array $atts ) : array | ||
$atts | array | Arguments passed into wp_mail |
Résultat | array | Unmodified $atts |
public get_from_name ( $from_name ) : string | ||
Résultat | string | from email address |
public static launch ( ) |
protected prepare_settings ( ) |
public render_admin_page ( ) : none | ||
Résultat | none |