jetpack_package_versions

jetpack_package_versions

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

See hook in core

Displaying hooks found in version: woocommerce.9.4.2

apply_filters('jetpack_package_versions') is found 2 times:

  • /vendor/automattic/jetpack-connection/src/class-manager.php line 1150
    			? $stats_options['blog_id']
    			: null;
    
    		/* This action is documented in src/class-package-version-tracker.php */
    		$package_versions = apply_filters( 'jetpack_package_versions', array() );
    
    		$active_plugins_using_connection = Plugin_Storage::get_all();
    
    		/**
    		 * Filters the request body for additional property addition.
    		 *
    
  • /vendor/automattic/jetpack-connection/src/class-package-version-tracker.php line 65
    		 * @since 1.30.2
    		 *
    		 * @param array An associative array of Jetpack package slugs and their corresponding versions as key/value pairs.
    		 */
    		$filter_versions = apply_filters( 'jetpack_package_versions', array() );
    
    		if ( ! is_array( $filter_versions ) ) {
    			return;
    		}
    
    		$option_versions = get_option( self::PACKAGE_VERSION_OPTION, array() );
    

See this hook used in plugins: