WordPress.org

Make WordPress Core

Ticket #16732: filter.php

File filter.php, 125 bytes (added by leewillis77, 3 years ago)

Example filter

Line 
1function remove_media_tabs($tabs) {
2          unset ($tabs['gallery']);
3}
4add_filter('media_upload_tabs','remove_media_tabs',999);
5