wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



auto_core_update_send_email › WordPress Filter Hooks

Da3.7.0
Deprecaton/a
› apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result )
Parametri: (4)
  • () send Whether to send the email. Default true.
    Richiesto: Sì
  • () type The type of email to send. Can be one of 'success', 'fail', 'critical'.
    Richiesto: Sì
  • () core_update The update offer that was attempted.
    Richiesto: Sì
  • () result The result for the core update. Can be WP_Error.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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