wp_get_theme_data_template_parts
wp_get_theme_data_template_parts ( No parameters )
Returns:- (array) Associative array of `$part_name => $part_data` pairs, with `$part_data` having "title" and "area" fields.
Defined at: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
Description
Returns the metadata for the template parts defined by the theme.