apply_filters ( 'jetpack_get_available_standalone_modules', array $modules, bool $requires_connection, bool $requires_user_connection )

Stand alone plugins need to use this filter to register the modules they interact with.<p>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.</p>

Source file: jetpack_vendor/automattic/jetpack-status/src/class-modules.php

View in GitHub

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

Since: Jetpack 1.13.6


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s