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

  • PostObjectCreate
  • PostObjectDelete
  • PostObjectMutation
  • PostObjectUpdate
  • TermObjectDelete

Class PostObjectCreate

Class PostObjectCreate

Namespace: WPGraphQL\Type\PostObject\Mutation
Package: WPGraphQL\Type\PostObject\Mutation
Located at Type/PostObject/Mutation/PostObjectCreate.php

Methods summary

public static array|mixed
# mutate( WP_Post_Type $post_type_object )

Defines the create mutation for PostTypeObjects

Defines the create mutation for PostTypeObjects

Parameters

$post_type_object

Returns

array|mixed
API documentation generated by ApiGen