get_footer

動作鉤子
do_action( 'get_footer', $name, $args )
引數
  • (string|null) $name Name of the specific footer file to use. Null for the default footer.
    Required:
  • (array) $args Additional arguments passed to the footer template.
    Required:
定義位置
相關勾子
get_termwp_footerget_termsembed_footerlogin_footer
相關方法
get_footerget_termwp_footerget_termslogin_footeriframe_footer
引入
5.5.0
棄用
-

get_footer: 這個函式返回網站頁尾的內容。footer.php檔案被用來生成輸出。

在載入頁尾模板檔案之前觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'get_footer', $name, $args );
do_action( 'get_footer', $name, $args );
do_action( 'get_footer', $name, $args );

常見問題

FAQs
檢視更多 >