automatic_updates_send_debug_email хук-фильтр . WP 3.7.0
Filters whether to send a debugging email for each automatic background update.
Использование
add_filter( 'automatic_updates_send_debug_email', 'filter_function_name_2829' ); function filter_function_name_2829( $development_version ){ // filter... return $development_version; }
- $development_version(true/false)
- By default, emails are sent if the install is a development version. Return false to avoid the email.
Список изменений
С версии 3.7.0 | Введена. |
Где вызывается хук
automatic_updates_send_debug_email
wp-admin/includes/class-wp-automatic-updater.php 532
if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {