get_custom_header_markup()
最后更新于:2021-11-26 09:04:20
get_custom_header_markup()Retrieves the markup for a custom header.
响应
(string) The markup for a custom header on success.
源文件
文件: gc-includes/theme.php
function get_custom_header_markup() {
if ( ! has_custom_header() && ! is_customize_preview() ) {
return '';
}
return sprintf(
'<div id="gc-custom-header" class="gc-custom-header">%s</div>',
get_header_image_tag()
);
}