Support » Developing with WordPress » How do I use the ‘tab’ parameter in the get_upload_iframe_src function?

  • I have a custom post type called service. I have added a metabox to the service CPT that displays the get_upload_iframe_src function. I use $_GET[‘post’] in the post_id parameter of that function to only display attachments for the post being edited. I don’t want to display the “Media Library” tab in the upload iframe because I don’t want to see images from other services. Is the “tab” parameter in the get_upload_iframe_src function the way I would remove the “Media Library” tab? If so, how would I go about doing that? If not, is there another way I can remove the “Media Library” tab? There is literally no documentation provided for this function, only what datatypes the parameters are. Not what they do.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I use the ‘tab’ parameter in the get_upload_iframe_src function?’ is closed to new replies.