Function __global->find_theme_seed
Definitions
sources/themes2.php
- Find the seed of a theme.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $theme | ?ID_TEXT | No | No | Null | N/A | N/A | The theme name (null: current theme) |
Returns
- The seed colour
- Type: ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the seed of a theme.
*
* @param ?ID_TEXT $theme The theme name (null: current theme)
* @return ID_TEXT The seed colour
*/
function find_theme_seed(?string $theme = null) : string
* Find the seed of a theme.
*
* @param ?ID_TEXT $theme The theme name (null: current theme)
* @return ID_TEXT The seed colour
*/
function find_theme_seed(?string $theme = null) : string

