
如何在Linux、macOS、Windows服务器上安装PHP
apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin_path, $plugin, $enabled )
plugin_auto_update_debug_string 是一个过滤钩子,允许开发者在自动更新过程运行时向输出的调试信息添加额外的信息。这个钩子可以用来提供关于自动更新过程的额外细节,比如正在更新的插件版本。
挂钩名称的动态部分$plugin_file
是指插件文件相对于插件目录的路径。
过滤Site Health调试数据中每个插件的自动更新设置的文本字符串。
$auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin_path, $plugin, $enabled );