Overview
  • Namespace
  • Class

Namespaces

  • WPGraphQL
    • Data
    • Type
      • Avatar
      • Comment
        • Connection
      • CommentAuthor
      • EditLock
      • Enum
      • MediaItem
        • Mutation
      • Plugin
        • Connection
      • PostObject
        • Connection
        • Mutation
      • PostType
      • Setting
      • Taxonomy
      • TermObject
        • Connection
        • Mutation
      • Theme
        • Connection
      • Union
      • User
        • Connection
        • Mutation
    • Utils

Classes

  • MediaItemStatusEnumType
  • MimeTypeEnumType
  • PostObjectFieldFormatEnumType
  • PostStatusEnumType
  • PostTypeEnumType
  • RelationEnumType
  • TaxonomyEnumType

Class MediaItemStatusEnumType

Class MediaItemStatusEnumType

This defines an EnumType with allowed post stati for attachments in WordPress. Attachments do not have the same status capabilities as other post types, see here for reference: https://github.com/WordPress/WordPress/blob/master/wp-includes/post.php#L3072

GraphQL\Type\Definition\EnumType
Extended by WPGraphQL\Type\WPEnumType
Extended by WPGraphQL\Type\Enum\MediaItemStatusEnumType
Namespace: WPGraphQL\Type\Enum
Package: WPGraphQL\Type\Enum
Located at Type/Enum/MediaItemStatusEnumType.php

Methods summary

public
# __construct( array $config,… )

WPInputObjectType constructor.

WPInputObjectType constructor.

Parameters

$config,…

Overrides

WPGraphQL\Type\WPEnumType::__construct
API documentation generated by ApiGen