Changeset 52069 for trunk/src/wp-includes/theme.php
- Timestamp:
- 11/09/2021 02:15:23 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r52044 r52069 4076 4076 ); 4077 4077 } 4078 4079 /** 4080 * Returns whether the current theme is a block-based theme or not. 4081 * 4082 * @since 5.9.0 4083 * 4084 * @return boolean Whether the current theme is a block-based theme or not. 4085 */ 4086 function wp_is_block_template_theme() { 4087 return is_readable( get_theme_file_path( '/block-templates/index.html' ) ); 4088 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)