jetpack_package_versions, array(

jetpack_package_versions, array(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_package_versions, array(') is found 4 times:

  • /jetpack_vendor/automattic/jetpack-connection/src/class-manager.php line 1292
    		$stats_options = get_option( 'stats_options' );
    		$stats_id      = $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.
    		 *
    
  • /jetpack_vendor/automattic/jetpack-connection/src/class-manager.php line 2800
    				$stats[ $stats_group ][] = $plugin_slug;
    			}
    		}
    
    		$stats['jetpack_package_versions'] = apply_filters( 'jetpack_package_versions', array() );
    
    		$stats['identitycrisis'] = Identity_Crisis::check_identity_crisis() ? 'yes' : 'no';
    
    		// Missing the connection owner?
    		$stats['missing-owner'] = $this->is_missing_connection_owner();
    
    
  • /jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php line 83
    		 * @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() );
    
  • /jetpack_vendor/automattic/jetpack-sync/src/class-functions.php line 761

    Warning: Undefined array key 763 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 764 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 765 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 766 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 *
    	 * @return array
    	 */
    	public static function get_jetpack_package_versions() {
    		return apply_filters( 'jetpack_package_versions', array() );
    	}
    }