wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



auto_core_update_send_email › Les Filtres WordPress

Depuis3.7.0
Dépréciéen/a
apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result )
Paramètres: (4)
  • (bool) $send Whether to send the email. Default true.
    Requis: Oui
  • (string) $type The type of email to send. Can be one of 'success', 'fail', 'critical'.
    Requis: Oui
  • (object) $core_update The update offer that was attempted.
    Requis: Oui
  • (mixed) $result The result for the core update. Can be WP_Error.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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