New answers tagged

0

Suppose you want to open the modal to the create gallery section: var options = { frame: 'post', state: 'gallery', title: wp.media.view.l10n.createGalleryTitle, multiple: true }; var frame = wp.media.editor.open(null,options) If you want something else, I suggest you search through the core js source to change the Library ID as ...



Top 50 recent answers are included