Function __global->uninstall_addon
Definitions
sources/addons2.php
- Completely uninstall the specified addon from the system.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $addon_name | string | No | No | required parameter | N/A | N/A | Name of the addon |
| $clear_caches | boolean | No | No | True | N/A | N/A | Whether to clear caches |
Preview
Code (PHP)
/**
* Completely uninstall the specified addon from the system.
*
* @param string $addon_name Name of the addon
* @param boolean $clear_caches Whether to clear caches
*/
function uninstall_addon(string $addon_name, bool $clear_caches = true)
* Completely uninstall the specified addon from the system.
*
* @param string $addon_name Name of the addon
* @param boolean $clear_caches Whether to clear caches
*/
function uninstall_addon(string $addon_name, bool $clear_caches = true)

