diff --git src/wp-includes/theme.php src/wp-includes/theme.php
index cf1bb0f..bf0fb6c 100644
--- src/wp-includes/theme.php
+++ src/wp-includes/theme.php
@@ -1062,6 +1062,16 @@ function get_header_image_tag( $attr = array() ) {
 		}
 	}
 
+	/**
+	 * Filters the list of header image attributes.
+	 *
+	 * @since 4.7.1
+	 *
+	 * @param array  $attr   Array of the attributes for the image tag.
+	 * @param object $header The custom header object returned by 'get_custom_header()'.
+	 */
+	$attr = apply_filters( 'get_header_image_tag_attributes', $attr, $header );
+
 	$attr = array_map( 'esc_attr', $attr );
 	$html = '<img';
 
