WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 4 months ago

#50074 new enhancement

Add filter on post/etc action links in the REST API

Reported by: rmccue Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.9.8
Component: REST API Keywords: needs-patch good-first-bug
Focuses: Cc:

Description

With Gutenberg increasingly using more action links to control behaviour in the block editor, having a filter to adjust these links would be super useful. This allows developers to avoid a shotgun approach of hacking Gutenberg's UI, or using the very low-level filters to remove these actions.

This is probably useful to have as a general API to also add additional actions; e.g. for implementing something similar to Gutenberg's actions.

Change History (1)

#1 @TimothyBlynJacobs
4 months ago

  • Keywords good-first-bug added
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement
  • Version set to 4.9.8

This makes sense to me. We'd probably also want a filter on get_schema_links.

Note: See TracTickets for help on using tickets.