Ticket #40508: 40508.diff
File 40508.diff, 1.1 KB (added by , 8 years ago) |
---|
-
src/wp-includes/general-template.php
43 43 $templates[] = 'header.php'; 44 44 45 45 locate_template( $templates, true ); 46 47 /** 48 * Fires after the header template file is loaded. 49 * 50 * The hook allows markup or additional template files to be loaded after the 51 * results of a get_header() call. 52 * 53 * @since 4.9.0 54 * 55 * @param string|null $name Name of the specific header file to use. null for the default header. 56 */ 57 do_action( 'after_get_header', $name ); 46 58 } 47 59 48 60 /** … … 82 94 $templates[] = 'footer.php'; 83 95 84 96 locate_template( $templates, true ); 97 98 /** 99 * Fires after the footer template file is loaded. 100 * 101 * The hook allows markup or additional template files to be loaded after the 102 * results of a get_footer() call. 103 * 104 * @since 4.9.0 105 * 106 * @param string|null $name Name of the specific footer file to use. null for the default footer. 107 */ 108 do_action( 'after_get_footer', $name ); 85 109 } 86 110 87 111 /**