Function __global->actual_edit_theme_image
Definitions
sources/themes3.php
- Edit a theme image.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $old_id | SHORT_TEXT | No | No | required parameter | N/A | N/A | The current theme image ID |
| $theme | ID_TEXT | No | No | required parameter | N/A | N/A | The theme the theme image is in |
| $lang | LANGUAGE_NAME | No | No | required parameter | N/A | N/A | The language the theme image is for (blank: all languages) |
| $id | SHORT_TEXT | No | No | required parameter | N/A | N/A | The new theme image ID |
| $url | URLPATH | No | No | required parameter | N/A | N/A | The URL to the theme image |
| $quick | boolean | No | No | False | N/A | N/A | Whether to avoid cleanup, etc |
Preview
Code (PHP)
/**
* Edit a theme image.
*
* @param SHORT_TEXT $old_id The current theme image ID
* @param ID_TEXT $theme The theme the theme image is in
* @param LANGUAGE_NAME $lang The language the theme image is for (blank: all languages)
* @param SHORT_TEXT $id The new theme image ID
* @param URLPATH $url The URL to the theme image
* @param boolean $quick Whether to avoid cleanup, etc
*/
function actual_edit_theme_image(string $old_id, string $theme, string $lang, string $id, string $url, bool $quick = false)
* Edit a theme image.
*
* @param SHORT_TEXT $old_id The current theme image ID
* @param ID_TEXT $theme The theme the theme image is in
* @param LANGUAGE_NAME $lang The language the theme image is for (blank: all languages)
* @param SHORT_TEXT $id The new theme image ID
* @param URLPATH $url The URL to the theme image
* @param boolean $quick Whether to avoid cleanup, etc
*/
function actual_edit_theme_image(string $old_id, string $theme, string $lang, string $id, string $url, bool $quick = false)

