[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ -> class-smtp.php (source)

   1  <?php
   2  
   3  /**
   4   * The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
   5   */
   6  _deprecated_file(
   7      basename( __FILE__ ),
   8      '5.5.0',
   9      WPINC . '/PHPMailer/SMTP.php',
  10      __( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
  11  );
  12  
  13  require_once  __DIR__ . '/PHPMailer/SMTP.php';
  14  
  15  class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref