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

  • MediaItemCreate
  • MediaItemDelete
  • MediaItemMutation
  • MediaItemUpdate

Class MediaItemCreate

Class MediaItemCreate

Namespace: WPGraphQL\Type\MediaItem\Mutation
Package: WPGraphQL\Type\MediaItem\Mutation
Located at Type/MediaItem/Mutation/MediaItemCreate.php

Methods summary

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

Defines the create mutation for MediaItems

Defines the create mutation for MediaItems

Returns

array|mixed

Var

\WP_Post_Type $post_type_object
API documentation generated by ApiGen