This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Media Presets CSS

By: a guest on Nov 5th, 2013  |  syntax: PHP  |  size: 0.28 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. function admin_css_none()
  2. {
  3.     ?>
  4. <style type="text/css">
  5.         div.media-menu a.media-menu-item:nth-child(3) {display:none!important;}
  6.         .media-frame-content .attachment-filters:first-child {
  7.                 display:none;
  8.         }
  9. </style>
  10.     <?php
  11. }
  12. add_action( 'admin_head', 'admin_css_none' );
clone this paste RAW Paste Data