aktualisierungs mails ausschalten | ProjectDMC.org Deutsch

[ad_1]

Welchen Code hast du denn verwendet?

Thread-Starter
gloon

(@gloon)

habe folgende drei verwendet:

// Disable core update emails
add_filter( ‚auto_core_update_send_email‘, ‚__return_false‘ );

// Disable plugin update emails
add_filter( ‚auto_plugin_update_send_email‘, ‚__return_false‘ );

// Disable theme update emails
add_filter( ‚auto_theme_update_send_email‘, ‚__return_false‘ );

hab diese auch irgendwo abgeschrieben, vielleicht sind diese ja auch falsch…
was meinst du dazu?

rpp

(@rpfaffenbach)

Du hast das Snippet auch als als PHP Snippet angelegt?
Außerdem sind da in jeder Zeile jeweils ein Komma zu viel. Korrekt wäre

// Disable auto-update emails.
add_filter( 'auto_core_update_send_email', '__return_false' );

// Disable auto-update emails for plugins.
add_filter( 'auto_plugin_update_send_email', '__return_false' );

// Disable auto-update emails for themes.
add_filter( 'auto_theme_update_send_email', '__return_false' );

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer