wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



auto_core_update_send_email › WordPress Filter Hooks

Seit3.7.0
Veraltetn/v
apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result )
Parameter: (4)
  • (bool) $send Whether to send the email. Default true.
    Erforderlich: Ja
  • (string) $type The type of email to send. Can be one of 'success', 'fail', 'critical'.
    Erforderlich: Ja
  • (object) $core_update The update offer that was attempted.
    Erforderlich: Ja
  • (mixed) $result The result for the core update. Can be WP_Error.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether to send an email following an automatic background core update.





Quellcode

if ( 'manual' !== $type && ! apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result ) ) {