コード例 #1
0
 /**
  * This function sets up a custom email.
  *
  * @since 1.0.0
  * @return  void
  */
 function __construct()
 {
     // Configure Email
     $this->name = 'register';
     $this->title = __("Registration Email", 'wpum');
     $this->description = __("This is the email that is sent to the user upon successful registration.", 'wpum');
     $this->subject = $this->subject();
     $this->message = $this->message();
     // do not delete!
     parent::__construct();
 }
コード例 #2
0
 /**
  * This function sets up a custom email.
  *
  * @since 1.0.0
  * @return  void
  */
 function __construct()
 {
     // Configure Email
     $this->name = 'password';
     $this->title = __("Password Recovery Email", 'wpum');
     $this->description = __("This is the email that is sent to the visitor upon password reset request.", 'wpum');
     $this->subject = $this->subject();
     $this->message = $this->message();
     // do not delete!
     parent::__construct();
 }