- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
565 B
PHP
Executable File
23 lines
565 B
PHP
Executable File
<?php
|
|
/**
|
|
* WP Mail SMTP
|
|
* https://wordpress.org/plugins/wp-mail-smtp/
|
|
*/
|
|
if ( ! class_exists( 'BWFAN_Compatibility_With_WP_SMTP' ) ) {
|
|
class BWFAN_Compatibility_With_WP_SMTP {
|
|
|
|
/**
|
|
* checking for smart routing/Backup connection enabled
|
|
*
|
|
* @return bool
|
|
*/
|
|
public static function has_multiple_connections() {
|
|
if ( ! class_exists( 'WPMailSMTP\Options' ) ) {
|
|
return false;
|
|
}
|
|
|
|
return ( WPMailSMTP\Options::init()->get( 'smart_routing', 'enabled' ) || WPMailSMTP\Options::init()->get( 'backup_connection', 'connection_id' ) );
|
|
}
|
|
}
|
|
}
|