Function __global->find_addon_effective_md5
Definitions
sources/addons2.php
- Find effective md5 hash of an addon (takes the crc32 of all addon files and returns an MD5 hash).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $addon_name | string | No | No | required parameter | N/A | N/A | The name of the addon |
| $exclude_registry | boolean | No | No | False | N/A | N/A | Do not consider addon registry hooks in the calculation |
Returns
- the MD5 hash of all the addon file's crc32 hashes
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find effective md5 hash of an addon (takes the crc32 of all addon files and returns an MD5 hash).
*
* @param string $addon_name The name of the addon
* @param boolean $exclude_registry Do not consider addon registry hooks in the calculation
* @return string the MD5 hash of all the addon file's crc32 hashes
*/
function find_addon_effective_md5(string $addon_name, bool $exclude_registry = false) : string
* Find effective md5 hash of an addon (takes the crc32 of all addon files and returns an MD5 hash).
*
* @param string $addon_name The name of the addon
* @param boolean $exclude_registry Do not consider addon registry hooks in the calculation
* @return string the MD5 hash of all the addon file's crc32 hashes
*/
function find_addon_effective_md5(string $addon_name, bool $exclude_registry = false) : string

