Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 7th, 2013  |  syntax: PHP  |  size: 0.48 KB  |  views: 110  |  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. /**
  2.  * Edit Media Upload strings
  3.  */
  4. function media_upload_strings( $strings ) {
  5.         $strings['insertIntoPost'] = __( 'Use this media', SB_UID );
  6.         unset( $strings['insertMediaTitle'] );
  7.         //unset( $strings['mediaLibraryTitle'] ); Leave only Media Library and remove others
  8.         unset( $strings['createGalleryTitle'] );
  9.         unset( $strings['setFeaturedImageTitle'] );
  10.         unset( $strings['insertFromUrlTitle'] );
  11.         return $strings;
  12. }
  13. add_filter( 'media_view_strings', 'media_upload_strings' );