Function __global->update_addon_auto_version

Definitions

sources/addons2.php

  • Update the return value of get_version() in an addon registry hook if it is designated to have automatic versions.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$place ID_TEXT No No required parameter sources sources_custom N/A The location of the hook
$name ID_TEXT No No required parameter N/A N/A The name of the hook / addon to update

Preview

Code (PHP)

/**
 * Update the return value of get_version() in an addon registry hook if it is designated to have automatic versions.
 *
 * @param  ID_TEXT $place The location of the hook
 * @set sources sources_custom
 * @param  ID_TEXT $name The name of the hook / addon to update
 */

function update_addon_auto_version(string $place, string $name)