Filter: gk/foundation/purge/products
Registers products that can permanently remove their data from their settings page.
Parameters
| Name | Type | Description |
|---|---|---|
| $products | array | Keyed by settings plugin ID; each has callback (callable), items (string[], what is removed), optional capability (default manage_options), and optional plugin (plugin file) and title to also offer the removal when the plugin is deactivated. Optional warning (plain text) is shown as a warning in that deactivation dialog, such as what stops working while the plugin is off; added in TBD. |
Since
- 1.38.0
Source
Defined in Purge/Purge.php at line 59