Skip to content

Commit 34ed22c

Browse files
Docs: Document the $wp_theme_directories global in wp_is_block_theme().
Follow-up to [52069], [52330]. Props upadalavipul. See #63496. git-svn-id: https://develop.svn.wordpress.org/trunk@60262 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5c519f8 commit 34ed22c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wp-includes/theme.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4349,6 +4349,8 @@ function create_initial_theme_features() {
43494349
*
43504350
* @since 5.9.0
43514351
*
4352+
* @global string[] $wp_theme_directories
4353+
*
43524354
* @return bool Whether the active theme is a block-based theme or not.
43534355
*/
43544356
function wp_is_block_theme() {

0 commit comments

Comments
 (0)