A WordPress-centric search engine for devs and theme authors



auto_plugin_update_send_email ›

Since5.5.1
Deprecatedn/a
apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] )
Parameters: (2)
  • (bool) $enabled True if plugin update notifications are enabled, false otherwise.
    Required: Yes
  • (array) $update_results The results of plugins update tasks.
    Required: Yes
Defined at:
Codex:

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





Source

$notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] );