A WordPress-centric search engine for devs and theme authors



auto_core_update_send_email ›

Since3.7.0
Deprecatedn/a
apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result )
Parameters: (4)
  • (bool) $send Whether to send the email. Default true.
    Required: Yes
  • (string) $type The type of email to send. Can be one of 'success', 'fail', 'critical'.
    Required: Yes
  • (object) $core_update The update offer that was attempted.
    Required: Yes
  • (mixed) $result The result for the core update. Can be WP_Error.
    Required: Yes
Defined at:
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 ) ) {