theme_header_image — Get the theme’s header image tag.

Head-related functions

Summary

theme_header_image()

Get the theme’s header image tag.

Returns:string|null

Usage

Examples

Pull header image information from the theme options and write it to the HTML page:

<?php echo theme_header_image(); ?>

which results in:

<div id="header-image">
    <img src="http://mysite/files/theme_uploads/4c62db4de9d04b8f494ca8c132392920.jpg" />
</div>

See Also