Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function disable_image_tabs( $tabs ) {
- unset(
- $tabs['type_url'],
- $tabs['gallery']
- );
- return $tabs;
- }
- if ( isset( $_REQUEST['context'] ) && 'custom_uploader' == $_REQUEST['context'] ) {
- //filters
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement