benecaster_installed_addons
Filters the list of installed and active add-on slugs returned by AddonsRegistry. Add-on plugins hook this filter at benecaster_boot to declare themselves installed, which causes their card on the Add-ons screen to render in the ‘Installed’ section rather than ‘Ready to install’. Recipe: declare-installed-addon.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$slugs |
array |
— | Array of installed add-on slug strings (e.g. 'benecaster-addon-guest-manager') |
Returns:
array
Affects
- Add-ons screen — installed vs. ready-to-install card state