diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 8c86ed7f92..67c8fa0710 100644
--- a/src/wp-includes/general-template.php
+++ b/src/wp-includes/general-template.php
@@ -38,6 +38,8 @@ function get_header( $name = null ) {
 
 	$templates[] = 'header.php';
 
+	$templates = (array) apply_filters( 'update_header_template' , $templates );
+
 	locate_template( $templates, true );
 }
 
@@ -73,6 +75,8 @@ function get_footer( $name = null ) {
 
 	$templates[] = 'footer.php';
 
+	$templates = (array) apply_filters( 'update_footer_template' , $templates );
+
 	locate_template( $templates, true );
 }
 
