wpseek.com
WordPress开发者和主题制作者的搜索引擎



auto_theme_update_send_email › WordPress过滤钩子

Since5.5.1
已弃用n/a
apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] )
参数: (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
定义在:
文档:

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





源码

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