update_footer
云策文档标注
概述
update_footer 是一个 WordPress 过滤器,用于修改管理后台页脚显示的版本和更新信息文本。它通过 core_update_footer() 函数在优先级 10 处被调用。
关键要点
- 过滤器名称:update_footer
- 用途:过滤管理后台页脚的版本/更新文本
- 相关函数:core_update_footer()
- 参数:$content(字符串类型,表示要打印的内容)
- 源代码:echo apply_filters( 'update_footer', '' );
- 引入版本:WordPress 2.3.0
原文内容
Filters the version/update text displayed in the admin footer.
Description
WordPress prints the current version and update information, using core_update_footer() at priority 10.
See also
Parameters
$contentstring-
The content that will be printed.
Source
echo apply_filters( 'update_footer', '' );
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |