[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * The PHPMailer class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. 5 */ 6 if ( function_exists( '_deprecated_file' ) ) { 7 _deprecated_file( 8 basename( __FILE__ ), 9 '5.5.0', 10 WPINC . '/PHPMailer/PHPMailer.php', 11 __( 'The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' ) 12 ); 13 } 14 15 require_once __DIR__ . '/PHPMailer/PHPMailer.php'; 16 require_once __DIR__ . '/PHPMailer/Exception.php'; 17 18 class_alias( PHPMailer\PHPMailer\PHPMailer::class, 'PHPMailer' ); 19 class_alias( PHPMailer\PHPMailer\Exception::class, 'phpmailerException' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |