Stand alone plugins need to use this filter to register the modules they interact with. This will allow them to activate and deactivate these modules even when Jetpack is not present. Note: Standalone plugins can only interact with modules that also exist in the Jetpack plugin, otherwise they’ll lose the ability to control it if Jetpack is activated.
Parameters
- $modules
array The list of available modules as an array of slugs.
- $requires_connection
bool Whether to list only modules that require a connection to work.
- $requires_user_connection
bool Whether to list only modules that require a user connection to work.
Changelog
- Introduced in Jetpack 1.13.6