Index: wp-includes/general-template.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-includes/general-template.php	(revision 25aff59a53366ddd9744ec3b4a31efab20a5aa29)
+++ wp-includes/general-template.php	(date 1582466990693)
@@ -38,6 +38,11 @@
 
 	$templates[] = 'header.php';
 
+	/**
+	 * Filter the header template name
+	 */
+	apply_filters_ref_array( 'get_header_template', $templates );
+
 	locate_template( $templates, true );
 }
 
@@ -73,6 +78,11 @@
 
 	$templates[] = 'footer.php';
 
+	/**
+	 * Filter the footer template name
+	 */
+	apply_filters_ref_array( 'get_footer_template', $templates );
+
 	locate_template( $templates, true );
 }
 
