diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 81ba70d40b..27291405f5 100644
a
|
b
|
function get_sidebar( $name = null ) { |
133 | 133 | * @param string $name The name of the specialised template. |
134 | 134 | */ |
135 | 135 | function get_template_part( $slug, $name = null ) { |
| 136 | /** |
| 137 | * Fires before the template part is loaded. |
| 138 | * |
| 139 | * @since 5.0.0 |
| 140 | * |
| 141 | * @param string $slug The slug name for the generic template. |
| 142 | * @param string|null $name The name of the specialized template. |
| 143 | */ |
| 144 | do_action( 'get_template_part', $slug, $name ); |
| 145 | |
136 | 146 | /** |
137 | 147 | * Fires before the specified template part file is loaded. |
138 | 148 | * |