[wp-trac] [WordPress Trac] #40427: Expose an API to extend the Media Manager
WordPress Trac
noreply at wordpress.org
Wed Apr 12 17:30:39 UTC 2017
#40427: Expose an API to extend the Media Manager
---------------------------+-----------------------------
Reporter: jonathanbardo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
---------------------------+-----------------------------
After talking with @mikeschroder as Pressnomics about how hard it was to
extend the media manager, I wanted to open the discussion here for ways we
could improve that.
One way I made it work for the Stock Photo plugins at GoDaddy was to
override core bindHandlers (see https://github.com/godaddy/wp-stock-
photos/blob/master/assets/js/stock-photos.manifest.js#L13) and register my
new view. One problem with that approach is that it makes it hard for
anyone else to extend it for themselves.
I'm turning out to the community so we can discuss ways we could expose
hooks that would let anyone extend any part of the media manager
experience. This could pave the way for awesome new plugins.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40427>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list