Used By
Used By | Description |
---|---|
wp-includes/general-template.php: get_template_part() | Loads a template part into a template. |
Fires before a template part is loaded.
(string) The slug name for the generic template.
(string) The name of the specialized template.
(string[]) Array of template files to search for, in order.
(array) Additional arguments passed to the template.
Version | Description |
---|---|
5.5.0 | The $args parameter was added. |
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_template_part