wp-content/themes/twentyeleven/functions.php:450Custom header image markup displayed.
function twentyeleven_header_image() { $attrs = array( 'alt' => get_bloginfo( 'name', 'display' ), ); // Compatibility with versions of WordPress prior to 3.4. if ( function_exists( 'get_custom_header' ) ) { $custom_header = get_custom_header(); $attrs['width'] = $custom_header->width; $attrs['height'] = $custom_header->height; } else { $attrs['width'] = HEADER_IMAGE_WIDTH; $attrs['height'] = HEADER_IMAGE_HEIGHT; } if ( function_exists( 'the_header_image_tag' ) ) { the_header_image_tag( $attrs ); return; } ?> <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $attrs['width'] ); ?>" height="<?php echo esc_attr( $attrs['height'] ); ?>" alt="<?php echo esc_attr( $attrs['alt'] ); ?>" /> <?php }Introduced in Twenty Eleven 4.5. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyeleven/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.