jetpack_get_available_standalone_modules

jetpack_get_available_standalone_modules

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.11.3.1

apply_filters('jetpack_get_available_standalone_modules') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-status/src/class-modules.php line 258
    				 * @param array $modules The list of available modules as an array of slugs.
    				 * @param bool $requires_connection Whether to list only modules that require a connection to work.
    				 * @param bool $requires_user_connection Whether to list only modules that require a user connection to work.
    				 */
    				apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection )
    			);
    		}
    
    		if ( ! isset( $modules ) ) {
    			$available_modules_option = \Jetpack_Options::get_option( 'available_modules', array() );
    			// Use the cache if we're on the front-end and it's available...
    

See this hook used in plugins: