Index: src/wp-includes/general-template.php
===================================================================
--- src/wp-includes/general-template.php	(revision 43944)
+++ src/wp-includes/general-template.php	(working copy)
@@ -25,6 +25,7 @@
 	 *
 	 * @since 2.1.0
 	 * @since 2.8.0 $name parameter added.
+	 * @since 5.0 add after_get_header hook
 	 *
 	 * @param string|null $name Name of the specific header file to use. null for the default header.
 	 */
@@ -39,6 +40,8 @@
 	$templates[] = 'header.php';
 
 	locate_template( $templates, true );
+
+	do_action( 'after_get_header', $name );
 }
 
 /**
@@ -51,6 +54,7 @@
  * "special".
  *
  * @since 1.5.0
+ * @since 5.0 add after_get_footer hook
  *
  * @param string $name The name of the specialised footer.
  */
@@ -74,6 +78,8 @@
 	$templates[] = 'footer.php';
 
 	locate_template( $templates, true );
+
+	do_action( 'after_get_footer', $name );
 }
 
 /**
