WPDev.one
Core Function
View Source on Trac ↗

get_header()

get_header( mixed $name = null, mixed $args = array() )

Loads header template.

Parameters 2 required

Name / Type Description
(string

| null) $name The name of the specialized header. Default null.

Required
array

$args Optional. Additional arguments passed to the header template. Default empty array.

Required

Return Value

((void)
| false) Void on success, false if the template does not exist.

Function Information

Since Version
1.5.0
Source File
wp-includes/general-template.php
Advertisement