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



auto_theme_update_send_email › Hooks de Filtros WordPress

Desde5.5.1
Obsoleton/a
apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] )
Parâmetros: (2)
  • (bool) $enabled True if theme update notifications are enabled, false otherwise.
    Required: Yes
  • (array) $update_results The results of theme update tasks.
    Required: Yes
Definido em:
Codex:

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





Fonte

$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );