the_header_image_tag

函数


the_header_image_tag ( $attr = array() )
参数
  • (array)
    $attr
    Optional. Attributes for the image markup. Default empty.
    Required:
    Default: array()
定义位置
  • wp-includes/theme.php
    , line 1298
引入
4.4.0
弃用

Displays the image markup for a custom header image.

function the_header_image_tag( $attr = array() ) {
	echo get_header_image_tag( $attr );
}