WordPress filter hook
jetpack_get_available_standalone_modules
Defined by Jetpack and fired by 28 plugins in total, running on 4M+ sites between them.
“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.”
How to use jetpack_get_available_standalone_modules
It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'jetpack_get_available_standalone_modules', function( $value, $requires_connection, $requires_user_connection ) {
// Change $value here.
return $value;
}, 10, 3 );Argument names come from Jetpack's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
28 plugins that fire jetpack_get_available_standalone_modules
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Jetpack3+ million installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Social Chat200,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Jetpack Boost200,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Jetpack Protect100,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Social Feed Gallery80,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Checkout Field Manager (Checkout Manager) for WooCommerce80,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Direct Checkout for WooCommerce70,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Search Exclude50,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Perfect Brands for WooCommerce40,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Autocomplete WooCommerce Orders30,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Jetpack Social30,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Jetpack CRM30,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Jetpack VaultPress Backup20,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Automattic For Agencies Client20,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
WP Menu Icons20,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Ajax add to cart for WooCommerce10,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
QuadMenu10,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Jetpack VideoPress7,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
QuadLayers TikTok Feed7,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Jetpack Search5,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Change Storefront Footer Copyright Text3,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
AI Copilot1,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Jetpack Stats1,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
QuadLayers Telegram Button1,000+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
PayPal Payment Buttons500+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:276 -
Lifetime Subscriptions for WooCommerce40+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Invoice Manager for WooCommerce30+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274 -
Licenses Manager for WooCommerce10+ installs
apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )jetpack_vendor/automattic/jetpack-status/src/class-modules.php:274
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.