?> </code>.</dd> <dt><code>toolbar</code><?php WPMJG::inherited_from_text('wp.media.view.Frame'); ?> </dt> <dd>The <code>toolbar</code> region controller object. See <code><?php WPMJG::the_section_link('wp.media.controller.Region'); ?> </code>.</dd> <dt><code>router</code><?php WPMJG::inherited_from_text('wp.media.view.Frame'); ?> </dt> <dd>The <code>router</code> region controller object. See <code><?php WPMJG::the_section_link('wp.media.controller.Region'); ?> </code>.</dd> <dt><code>views</code><?php WPMJG::inherited_from_text('wp.Backbone.View'); ?> </dt> <dd>A subview manager. Instance of <code>wp.Backbone.Subviews</code>.</dd> </dl> <h3>Methods</h3> <dl> <dt><code>open()</code><?php WPMJG::inherited_from_text('wp.media.view.MediaFrame'); ?> </dt> <dd>Open the frame in a modal.</dd>
<h3>wp.media( attributes )</h3> <p>Returns a media workflow.</p> <pre><code class="language-javascript">// Returns a Select frame. var selectFrame = wp.media({ // Accepts [ 'select', 'post', 'image', 'audio', 'video' ] frame: 'select' }); </code></pre> See <?php WPMJG::the_section_link('wp.media.view.MediaFrame.Post'); ?> , <?php WPMJG::the_section_link('wp.media.view.MediaFrame.Select'); ?> , <?php WPMJG::the_section_link('wp.media.view.MediaFrame.ImageDetails'); ?> , <?php WPMJG::the_section_link('wp.media.view.MediaFrame.AudioDetails'); ?> , <?php WPMJG::the_section_link('wp.media.view.MediaFrame.VideoDetails');