This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var test = { | |
key1: { | |
key11: 'test11', | |
key13: 'test13' | |
}, | |
key2: 'test2' | |
}; | |
var source = { | |
key1: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ ^/wp-content/uploads/(.*) { | |
rewrite ^/wp-content/uploads/(.*)$ https://www.example.com/wp-content/uploads/$1 permanent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'phpmailer_init', function ( $phpmailer ) { | |
$phpmailer->isSMTP(); | |
$phpmailer->Host = 'smtp.exemple.com'; | |
$phpmailer->SMTPAuth = true; // Indispensable pour forcer l'authentification | |
$phpmailer->Port = 465; | |
$phpmailer->Username = 'utilisateur'; | |
$phpmailer->Password = 'motdepasse'; | |
// Configurations complémentaires | |
//$phpmailer->SMTPSecure = "ssl"; // Sécurisation du serveur SMTP : ssl ou tls |