[wp-trac] [WordPress Trac] #44748: Ability to register custom embeds to built-in endpoints

WordPress Trac noreply at wordpress.org
Fri Nov 29 03:20:04 UTC 2019


#44748: Ability to register custom embeds to built-in endpoints
-----------------------------+-----------------------
 Reporter:  k1sul1           |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:  invalid
 Keywords:  needs-patch      |     Focuses:  rest-api
-----------------------------+-----------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Sorry for the late reply @k1sul1!

 > So if I understood correctly, I'm to use the rest_prepare_post filter to
 mutate the response with the add_link call. I think I'll manage.

 Yep!

 > Will nested embeds ever be supported?

 I'm not sure, see https://core.trac.wordpress.org/ticket/39696#comment:25.
 I don't think it is on a short term roadmap if that helps any.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44748#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list