get_header

最后更新于:2021-11-26 22:35:20

do_action( ‘get_header’, string|null $name, array $args )

Fires before the header template file is loaded.

参数

$name

(string|null)
Name of the specific header file to use. Null for the default header.

$args

(array)
Additional arguments passed to the header template.

源文件

文件: gc-includes/general-template.php

View on Trac