Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revize Předchozí verze | |||
it:webove-stranky:wordpress:vypnuti-emailovych-notifikaci [2023/08/19 17:07] – Petr Nosek | it:webove-stranky:wordpress:vypnuti-emailovych-notifikaci [2023/08/19 17:11] (aktuální) – Petr Nosek | ||
---|---|---|---|
Řádek 7: | Řádek 7: | ||
<code php> | <code php> | ||
- | /** | + | /** |
- | * Disable Auto Update Notification Emails for Core Updates | + | * Disable Auto Update Notification Emails for Core Updates |
* https:// | * https:// | ||
- | | + | */ |
add_filter( ' | add_filter( ' | ||
- | |||
- | function wpb_stop_update_emails( $send, $type, $core_update, | ||
- | if ( ! empty( $type ) && $type == ' | ||
- | return false; | ||
- | } | ||
- | return true; | ||
- | } | ||
- | |||
- | /** | ||
- | * Disable Auto Update Notification Emails for Plugins | ||
- | | ||
- | add_filter( ' | ||
- | |||
- | |||
- | /** | ||
- | * Disable Auto Update Notification Emails for Themes | ||
- | | ||
- | add_filter( ' | ||
- | |||
- | |||
- | /** | ||
- | * Disable nightly builds and development updates | ||
- | * https:// | ||
- | | ||
- | add_filter( ' | ||
+ | function wpb_stop_update_emails( $send, $type, $core_update, | ||
+ | if ( ! empty( $type ) && $type == ' | ||
+ | return false; | ||
+ | } | ||
+ | return true; | ||
+ | } | ||
+ | |||
+ | /** | ||
+ | * Disable Auto Update Notification Emails for Plugins | ||
+ | */ | ||
+ | add_filter( ' | ||
- | </ | ||
+ | /** | ||
+ | * Disable Auto Update Notification Emails for Themes | ||
+ | */ | ||
+ | add_filter( ' | ||
+ | /** | ||
+ | * Disable nightly builds and development updates | ||
+ | * https:// | ||
+ | */ | ||
+ | add_filter( ' | ||
+ | </ |