Fires inside specific upload-type views in the legacy (pre-3.5.0) media popup based on the current tab.
Description
The dynamic portion of the hook name, $type, refers to the specific media upload type. The hook only fires if the current $tab is 'type' (From Computer), 'type_url' (From URL), or, if the tab does not exist (i.e., has not been registered via the 'media_upload_tabs' filter. Possible hook names include: <ul> <li>media_upload_audio</li> <li>media_upload_file</li> <li>media_upload_image</li> <li>media_upload_video</li> </ul>
99*-`media_upload_file`100*-`media_upload_image`101*-`media_upload_video`102*103* @since 2.5.0104*/105do_action("media_upload_{$type}");106}else{107/**108* Fires inside limited and specific upload-tab views in the legacy109*(pre-3.5.0) media popup.110*111* The dynamic portion of the hook name,`$tab`, refers to the specific
History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.