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

  • RootMutationType
  • RootQueryType
  • WPEnumType
  • WPInputObjectType
  • WPObjectType

Class WPEnumType

Class WPEnumType

EnumTypes should extend this class to have filters and sorting applied, etc.

GraphQL\Type\Definition\EnumType
Extended by WPGraphQL\Type\WPEnumType

Direct known subclasses

WPGraphQL\Type\Enum\MediaItemStatusEnumType, WPGraphQL\Type\Enum\MimeTypeEnumType, WPGraphQL\Type\Enum\PostObjectFieldFormatEnumType, WPGraphQL\Type\Enum\PostStatusEnumType, WPGraphQL\Type\Enum\RelationEnumType, WPGraphQL\Type\Enum\TaxonomyEnumType

Namespace: WPGraphQL\Type
Package: WPGraphQL\Type
Located at Type/WPEnumType.php

Methods summary

public
# __construct( array $config )

WPInputObjectType constructor.

WPInputObjectType constructor.

Parameters

$config
API documentation generated by ApiGen