[wp-trac] [WordPress Trac] #41683: Add Widget REST API endpoint
WordPress Trac
noreply at wordpress.org
Mon Aug 21 19:04:45 UTC 2017
#41683: Add Widget REST API endpoint
------------------------------------------+------------------------------
Reporter: spacedmonkey | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: rest-api
------------------------------------------+------------------------------
Comment (by wonderboymusic):
getting a widget by itself may be useful for admin screens, but to build a
front end, you actually need access to Sidebars. See something I am using
here: https://highforthis.com/wp-json/graphql/v1/sidebars
Without the sidebar context and a representation of the widget HTML, how
useful is the data?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41683#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list