Opis
Powstrzymaj WordPressa przed wysyłaniem jakichkolwiek wiadomości e-mail za pomocą standardowej funkcji wp_mail(). Nie będą wysyłane żadne wiadomości e-mail, nawet w przypadku resetowania hasła lub powiadomień administratora.
Witryny WordPress mogą wysyłać wiadomości e-mail z różnych powodów – np. rejestracja użytkownika, reset hasła, przesłanie formularza zapytania, zakup w sklepie internetowym – ale czasami nie chcesz, aby wysyłały cokolwiek. Niektóre powody wyłączenia wszystkich wiadomości e-mail:
- demonstration websites that allow users to do things that normally send emails
- development / test websites with live data that might email real customers
- masowe ładowanie danych do witryn internetowych, które mogą powodować wysyłanie wiadomości e-mail
- dodawanie nowych witryn w sieci witryn
Uwaga: jeśli chcesz uruchomić wtyczkę na WordPress 5.4 lub wcześniejszym i musisz zainstalować ją ręcznie z pliku .zip, zainstaluj wersję 1.6.3, którą możesz pobrać ze strony Zaawansowane dla wtyczki. Od wersji 1.7.0 wymagany jest WordPress 5.5 lub nowszy.
Tłumaczenia
Wielkie podziękowania dla naszych tłumaczy:
- Chinese (zh-CN) — Cai_Miao and the Chinese translation team
- Chiński (zh-TW) — zespół tłumaczy języka chińskiego (tajwańskiego).
- Czeski (cs-CZ) — Rudolf Klusal
- Holenderski (nl_NL) — zespół tłumaczy języka holenderskiego.
- English (en_CA) — the English (Canadian) translation team
- Angielski (en_GB) — zespół tłumaczy języka angielskiego (UK).
- French (fr_FR) — the French translation team
- Korean (ko_KR) — the Korean translation team
- Japanese (ja) — Cai_Miao and the Japanese translation team
- Niemiecki (de-DE) — Peter Harlacher
- Norweski: Bokmål (nb-NO) — neonnero.
- Norweski: Nynorsk (nn-NO) — neonnero.
- Russian (ru_RU) — the Russian translation team
- Swedish (sv_SE) — the Swedish translation team
If you’d like to help out by translating this plugin, please sign up for an account and dig in.
Instalacja
- Either install automatically through the WordPress admin, or download the .zip file, unzip to a folder, and upload the folder to your /wp-content/plugins/ directory. Read Installing Plugins in the WordPress Codex for details.
- Włącz wtyczkę wybierając w menu administratora WordPressa pozycję „Wtyczki”.
- Optional: from the WordPress admin, navigate to Settings > Disable Emails and click the „Activate must-use plugin” if you want the plugin to always be activated, no matter what.
Najczęściej zadawane pytania
-
Why am I still getting standard WordPress emails?
-
You probably have another plugin that adds its own implementation of the
wp_mail()function. Try disabling some plugins.In some circumstances, enabling the must-use plugin from settings will fix this, because must-use plugins load before other plugins.
-
Standard WordPress emails have stopped, but some others still get sent
-
You probably have a plugin that is sending emails via some other method, like directly using the PHP
mail()function, or directly implementing an SMTP client. Not much I can do about that… -
How does it work?
-
The plugin replaces the standard WordPress
wp_mail()function with a function that sends no emails. Nada. Zip. Silence.Behind the scenes, it creates a private copy of PHPMailer and allows the system to interact with it, but silently suppresses the functions that send emails. The standard WordPress filter and action hooks are supported, so plugins that register hooks for those will still function as normal. It just doesn’t actually send any emails.
-
Can I make it a must-use plugin?
-
Yes. Once you have activated the plugin, navigate to Settings > Disable Emails and click the „Activate must-use plugin”. This will create a must-use plugin (mu-plugin) that ensures that Disable Emails is always loaded. This can be especially useful on development websites where the database is frequently refreshed from a live site which does not have Disable Emails activated.
NB: if you activate the must-use plugin on a multisite, it will stop emails on all sites on the multisite! If you have multiple networks on your multisite, the must-use plugin will stop emails on all networks.
-
Wkład
Recenzje
Kontrybutorzy i deweloperzy
„Wyłącz wysyłanie wiadomości e-mail” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniWtyczka „Wyłącz wysyłanie wiadomości e-mail” została przetłumaczona na 16 języków. Podziękuj tłumaczom za ich wkład.
Przetłumacz wtyczkę “Wyłącz wysyłanie wiadomości e-mail” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
The full changelog can be found on GitHub. Recent entries:
1.8.2
Wydano 2023-11-22
- fixed: deprecation warnings in PHP 8.1+