jetpack_get_available_standalone_modules

jetpack_get_available_standalone_modules

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('jetpack_get_available_standalone_modules') is found 1 times:

  • /vendor/automattic/jetpack-status/src/class-modules.php line 274
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
             * @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: