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

  • PostObjectConnectionArgs
  • PostObjectConnectionArgsDateQuery
  • PostObjectConnectionDefinition
  • PostObjectConnectionResolver

Class PostObjectConnectionDefinition

Class PostObjectConnectionDefinition

Namespace: WPGraphQL\Type\PostObject\Connection
Package: WPGraphQL\Type\Comment\Connection
Since: 0.0.5
Located at Type/PostObject/Connection/PostObjectConnectionDefinition.php

Methods summary

public static mixed
# connection( object $post_type_object )

Method that sets up the relay connection for post objects

Method that sets up the relay connection for post objects

Parameters

$post_type_object

Returns

mixed
mixed

Since

0.0.5
protected static array
# added_args( )

Returns the $args that should be added to the connection args

Returns the $args that should be added to the connection args

Returns

array

Properties summary

protected static array $added_args

Stores the added_args for the connection (in addition to the standard Relay args)

Stores the added_args for the connection (in addition to the standard Relay args)

#
API documentation generated by ApiGen