Function __global->get_addon_uninstall_writable_paths

Definitions

sources/addons2.php

  • Find what paths need to be writable for an addon to uninstall.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

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

Returns

  • List of paths that need to be writable
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find what paths need to be writable for an addon to uninstall.
 *
 * @param  string $addon_name Name of the addon
 * @return array List of paths that need to be writable
 */

function get_addon_uninstall_writable_paths(string $addon_name) : array