Core Function
View Source on Trac ↗ wp_get_theme_data_template_parts()
wp_get_theme_data_template_parts( ) Returns the metadata for the template parts defined by the theme.
Return Value
(array)
array Associative array of `$part_name => $part_data` pairs,
with `$part_data` having "title" and "area" fields.
Function Information
Since Version
6.4.0
Source File
wp-includes/global-styles-and-settings.php
Advertisement