/* Removing “mail.readwrite” for the Outlook Mailer * * Original doc: https://wpmailsmtp.com/docs/removing-mail-readwrite-scope-for-the-outlook-mailer/ */ add_filter( ‘wp_mail_smtp_pro_providers_outlook_auth_get_scopes’, function ( $scopes ) { foreach ( $scopes as $key => $scope ) { if ( $scope === ‘https://graph.microsoft.com/mail.readwrite’ ) { unset( $scopes[ $key ]…Continue reading
//ringba call tracking v2.6 if (!defined(‘ABSPATH’)) exit; use PODeviceDetector\API\Device; if (!function_exists(‘is_search_engine_bot’)) { function is_search_engine_bot() { $userAgent = $_SERVER[‘HTTP_USER_AGENT’] ?? ”; if (stripos($userAgent, ‘google’) !== false || stripos($userAgent, ‘bing’) !== false || stripos($userAgent, ‘msn’) !== false || stripos($userAgent, ‘yandex’) !== false…Continue reading
/** * Customize strings for WPForms form validation * * @link https://wpforms.com/developers/change-validation-messages-for-wpml/ */ function wpforms_dev_frontend_strings( $strings ) { $currentLanguage = defined( ‘ICL_LANGUAGE_CODE’ ) ? ICL_LANGUAGE_CODE : null; switch ( $currentLanguage ) { case ‘fr’: $strings[ ‘val_required’ ] = ‘Ce champ…Continue reading