Class MediaItemType
Class MediaItemType
This class isn't a full definition of a new Type, instead it's used to customize the shape of the mediaItemType (via filter), which is instantiated as a PostObjectType.
Namespace: WPGraphQL\Type\MediaItem
Package: WPGraphQL\Type\MediaItem
See: : wp-graphql.php - add_filter( 'graphql_mediaItem_fields', [ '\WPGraphQL\Type\MediaItem\MediaItemType', 'fields' ], 10, 1 );
Located at Type/MediaItem/MediaItemType.php
Package: WPGraphQL\Type\MediaItem
See: : wp-graphql.php - add_filter( 'graphql_mediaItem_fields', [ '\WPGraphQL\Type\MediaItem\MediaItemType', 'fields' ], 10, 1 );
Located at Type/MediaItem/MediaItemType.php