jetpack_tools_to_include, $tools

jetpack_tools_to_include, $tools

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_tools_to_include, $tools') is found 1 times:

  • /modules/module-extras.php line 64
     * @since 5.4.0 can be used in multisite when Jetpack is not connected to WordPress.com and not in offline mode.
     *
     * @param array $tools Array of extra tools to include.
     */
    $jetpack_tools_to_include = apply_filters( 'jetpack_tools_to_include', $tools );
    
    if ( ! empty( $jetpack_tools_to_include ) ) {
    	foreach ( $jetpack_tools_to_include as $tool ) {
    		if ( file_exists( JETPACK__PLUGIN_DIR . '/modules/' . $tool ) ) {
    			require_once JETPACK__PLUGIN_DIR . '/modules/' . $tool;
    		}