Core Function
View Source on Trac ↗ get_block_theme_folders()
get_block_theme_folders( mixed $theme_stylesheet = null ) For backward compatibility reasons,
Parameters 0 required
| Name / Type | Description |
|---|---|
| $theme_stylesheet string | The stylesheet. Default is to leverage the main theme root. |
Return Value
(string[])
string[] {
Folder names used by block themes.
Function Information
Since Version
5.9.0
Source File
wp-includes/block-template-utils.php
Advertisement