admin_footer_text

過濾鉤子
apply_filters( 'admin_footer_text', '' . $text . '' )
引數
  • (string) $text The content that will be printed.
    Required:
    Default:
定義位置
相關勾子
admin_footerin_admin_footeradmin_print_footer_scriptsadmin_titleadmin_footer-hook_suffix
相關方法
comment_footer_dielogin_footerprint_footer_scripts_admin_notice_post_lockedcheck_admin_refererwp_admin_viewport_meta
引入
2.8.0
棄用
-

admin_footer_text: 這個鉤子用來過濾顯示在WordPress管理儀表盤頁尾的文字。

過濾顯示在管理頁尾的”Thank you”文字。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );

常見問題

FAQs
檢視更多 >