Themes final class
Minn\Runtime\Themes · public/minn/src/Minn/Runtime/Themes.php · 116 lines
The site's themes as WordPress names and finds them: the active stylesheet and template (as their filters leave them), the themes root on disk and its address, each active theme's folder and its address, a theme by its folder, every installed theme, and the extra roots plugins register.
Public
| static | stylesheet(): mixed# | The active theme's folder (get_stylesheet). |
| static | template(): mixed# | The active parent theme's folder (get_template). |
| static | root(mixed $stylesheetOrTemplate = ''): mixed# | Where themes live on disk (get_theme_root). |
| static | rootUri(mixed $stylesheetOrTemplate = '', mixed $themeRoot = ''): mixed# | The themes root's address (get_theme_root_uri). |
| static | stylesheetDirectory(): mixed# | The active theme's folder on disk (get_stylesheet_directory). |
| static | templateDirectory(): mixed# | The active parent theme's folder on disk (get_template_directory). |
| static | stylesheetDirectoryUri(): mixed# | The active theme's folder address (get_stylesheet_directory_uri). |
| static | isBlockTheme(): bool# | Whether the current theme is a block theme (wp_is_block_theme): the booted one's answer, or, for a stylesheet a filter swapped in, that theme's own. |
| static | stylesheetUri(): mixed# | The active theme's stylesheet address (get_stylesheet_uri), as stylesheet_uri leaves it. |
| static | templateDirectoryUri(): mixed# | The active parent theme's folder address (get_template_directory_uri). |
| static | theme(mixed $stylesheet = '', mixed $themeRoot = ''): Minn\Objects\Theme# | A theme by its folder, the active one when none is named (wp_get_theme). |
| static | all(mixed $args = array ( )): array# | Every installed theme by its folder (wp_get_themes). @return array<string, Theme> |
| static | registerDirectory(mixed $directory): bool# | A further themes root (register_theme_directory), under wp-content when not found as given; false when it is nowhere. |
Nothing matches.