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:
定义位置
  • wp-includes/general-template.php
    , line 82
引入
5.5.0
弃用

Fires before the footer template file is loaded.

do_action( 'get_footer', $name, $args );