SHARE
TWEET

Untitled

a guest Apr 7th, 2013 139 Never
  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' );
RAW Paste Data
Top