W3cubDocs

/WordPress

apply_filters( ‘get_header_image’, string $url )

Filters the header image URL.

Parameters

$urlstring
Header image URL.

Source

$url = apply_filters( 'get_header_image', $url );

Changelog

Version Description
6.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_header_image