update_footer

過濾鉤子
apply_filters( 'update_footer', '' )
引數
  • (string) $content The content that will be printed.
    Required:
定義位置
相關勾子
wp_footerupdate_postmetaget_footerupdate_optionupdated_postmeta
相關方法
core_update_footerupdate_corewp_update_termwp_footerget_footeriframe_footer
引入
2.3.0
棄用
-

update_footer 是 WordPress 中的過濾器鉤子,它允許開發人員將自定義文字新增到 WordPress 管理儀表盤的頁尾。 此鉤子通常用於顯示版本號、資源連結或其他自定義資訊等資訊。

過濾顯示在管理頁尾的版本/更新文字。

WordPress列印出當前的版本和更新資訊。使用core_update_footer()的優先順序為10.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'update_footer', '' );
echo apply_filters( 'update_footer', '' );
echo apply_filters( 'update_footer', '' );

常見問題

FAQs
檢視更多 >