[ Index ]

PHP Cross Reference of WordPress

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  __DIR__ . '/PHPMailer/SMTP.php';
  14  
  15  class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );


Generated: Sun Jan 17 01:00:03 2021 Cross-referenced by PHPXref 0.7.1