wpseek.com
A WordPress-centric search engine for devs and theme authors



auto_theme_update_send_email › WordPress Filter Hooks

Since5.5.1
Deprecatedn/a
apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] )
Parameters: (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
Defined at:
Codex:

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





Source

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