Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Criteria for whether a post type should support attachments #1029

Description

@danielbachhuber

When adding a _link to an attachment collection, we need to make sure the post type supports attachments. However, there isn't currently a way in core to do so.

Core discussion: https://core.trac.wordpress.org/ticket/31804

From https://github.com/WP-API/WP-API/pull/1026/files#r27358934

Activity

  1. added this to the 2.0 milestone on Mar 30, 2015
  2. danielbachhuber commented on Jan 30, 2016

    @danielbachhuber
    MemberAuthor

    While the purist in me really wants an API for this relationship, pragmatically it doesn't have much value. I don't think it's worth spending time on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions