Function __global->cleanup_after_theme_image_file_removal
Definitions
sources/themes3.php
- Delete uploaded theme image if not tied into anything.We have to work hard as it's conceivable the URL could be in the database in weird encoding schemes across multiple theme images.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $old_url | URLPATH | No | No | required parameter | N/A | N/A | The URL to the theme image being deleted |
Preview
Code (PHP)
/**
* Delete uploaded theme image if not tied into anything.We have to work hard as it's conceivable the URL could be in the database in weird encoding schemes across multiple theme images.
*
* @param URLPATH $old_url The URL to the theme image being deleted
*/
function cleanup_after_theme_image_file_removal(string $old_url)
* Delete uploaded theme image if not tied into anything.We have to work hard as it's conceivable the URL could be in the database in weird encoding schemes across multiple theme images.
*
* @param URLPATH $old_url The URL to the theme image being deleted
*/
function cleanup_after_theme_image_file_removal(string $old_url)

