WordPress开发者和主题制作者的搜索引擎



get_header ›

Since2.8.0
已弃用n/a
do_action( 'get_header', $name )
参数:
  • (string|null) $name Name of the specific header file to use. null for the default header.
    Required: Yes
定义在:
文档:

Fires before the header template file is loaded.





源码

do_action( 'get_header', $name );