You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am build a plugin about media library that meet a problem when add custom tab to media library.
Describe the solution you'd like
I need a hook to create custom tab and document release to modify basic feature.
Describe alternatives you've considered
My research found a way that use Backbone.js. But i still have many difficulties in interaction. var l10n = wp.media.view.l10n; wp.media.view.MediaFrame.Select.prototype.browseRouter = function( routerView ) { routerView.add({ upload: { text: l10n.uploadFilesTitle, priority: 20 }, browse: { text: l10n.mediaLibraryTitle, priority: 40 }, designbold_tab: { text: "my tab name", priority: 60 } }); };
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am build a plugin about media library that meet a problem when add custom tab to media library.
Describe the solution you'd like
I need a hook to create custom tab and document release to modify basic feature.
Describe alternatives you've considered
My research found a way that use Backbone.js. But i still have many difficulties in interaction.
var l10n = wp.media.view.l10n; wp.media.view.MediaFrame.Select.prototype.browseRouter = function( routerView ) { routerView.add({ upload: { text: l10n.uploadFilesTitle, priority: 20 }, browse: { text: l10n.mediaLibraryTitle, priority: 40 }, designbold_tab: { text: "my tab name", priority: 60 } }); };
The text was updated successfully, but these errors were encountered: