wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



auto_core_update_send_email › Hooks de Filtros WordPress

Desde3.7.0
Obsoleton/a
apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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