wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



send_core_update_notification_email › WordPress Filter Hooks

Seit3.7.0
Veraltetn/v
apply_filters( 'send_core_update_notification_email', $notify, $item )
Parameter: (2)
  • (bool) $notify Whether the site administrator is notified.
    Erforderlich: Ja
  • (object) $item The update offer.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether to notify the site administrator of a new core update.

By default, administrators are notified when the update offer received from WordPress.org sets a particular flag. This allows some discretion in if and when to notify.

This filter is only evaluated once per release. If the same email address was already notified of the same new version, WordPress won't repeatedly email the administrator.

This filter is also used on about.php to check if a plugin has disabled these notifications.





Quellcode

if ( ! apply_filters( 'send_core_update_notification_email', $notify, $item ) ) {