Filters the available tabs in the legacy (pre-3.5.0) media popup.
$_default_tabsstring[]wp-admin/includes/media.php:31media_upload_tabs()wp-includes/media.php:4782wp_enqueue_media() * Filters the available tabs in the legacy (pre-3.5.0) media popup. * * @since 2.5.0 * * @param string[] $_default_tabs An array of media tabs. */ return apply_filters( 'media_upload_tabs', $_default_tabs );} /** * Adds the gallery tab back to the tabs array if post has image attachments. * * @since 2.5.0Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.