mycred_setup_addons
Description
This filter allows you to register a custom add-on or remove / rename a built-in one.
When creating a custom add-on, it is not required to use this filter unless you want users to select to enable the add-on on the myCRED > Add-ons page in the admin area. If you are adding a custom add-on via a plugin, you could however make the add-on auto enable when the plugin is enabled.
Available since version 1.0
Parameters
Param | Type | Required | Description |
---|---|---|---|
$addons |
array | Yes | An associative array of add-ons installed. Structure:
|
Used By
Package | Prio. | Description |
---|---|---|
mycred/core | 10 | Used by the myCRED_Addons_Module class. |
Examples
No example found.