Changeset 54811 for trunk/src/wp-includes/blocks/template-part.php
- Timestamp:
- 11/11/2022 12:44:54 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/template-part.php
r54487 r54811 194 194 return array(); 195 195 } 196 197 if ( ! current_theme_supports( 'block-templates' ) && ! current_theme_supports( 'block-template-parts' ) ) { 198 return array(); 199 } 200 196 201 $variations = array(); 197 202 $template_parts = get_block_templates(
Note: See TracChangeset
for help on using the changeset viewer.