automatic_updates_send_debug_email
apply_filters( ‘automatic_updates_send_debug_email’, bool $development_version )
筛选挂钩:筛选是否为每次自动后台更新发送调试电子邮件。
Filter Hook: Filters whether to send a debugging email for each automatic background update.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$development_version | (bool) | 默认情况下,如果安装是开发版本,则发送电子邮件。返回false以避开电子邮件。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.7.0 | wp-admin/includes/class-wp-automatic-updater.php:494 | 1 | 0 |
automatic_updates_send_debug_email 为WP2原创文章,链接:https://www.wp2.cn/hook/automatic_updates_send_debug_email/