Function __global->regen_theme_images
Definitions
sources/themes3.php
- Regenerate all the theme image URLs in the database.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $theme | ID_TEXT | No | No | required parameter | N/A | N/A | The theme we're searching in |
| $langs | ?array | No | No | Null | N/A | N/A | A map of languages (lang=>true) (null: find it in-function) |
| $target_theme | ?ID_TEXT | No | No | Null | N/A | N/A | The theme we're storing in (null: same as $theme) |
Preview
Code (PHP)
/**
* Regenerate all the theme image URLs in the database.
*
* @param ID_TEXT $theme The theme we're searching in
* @param ?array $langs A map of languages (lang=>true) (null: find it in-function)
* @param ?ID_TEXT $target_theme The theme we're storing in (null: same as $theme)
*/
function regen_theme_images(string $theme, ?array $langs = null, ?string $target_theme = null)
* Regenerate all the theme image URLs in the database.
*
* @param ID_TEXT $theme The theme we're searching in
* @param ?array $langs A map of languages (lang=>true) (null: find it in-function)
* @param ?ID_TEXT $target_theme The theme we're storing in (null: same as $theme)
*/
function regen_theme_images(string $theme, ?array $langs = null, ?string $target_theme = null)
