rtMedia Defined Constants

Following is the list of rtMedia defined constants along with with their default value. These values can be modified in the wp-config.php file.

NOTE : Define constants anywhere but before require_once(ABSPATH . 'wp-settings.php'); file inclusion statement.

  • define ( 'RTMEDIA_MEDIA_SLUG', 'media' );
  • define ( 'RTMEDIA_MEDIA_LABEL', 'Media' );
  • define ( 'RTMEDIA_ALL_SLUG', 'all' );
  • define ( 'RTMEDIA_ALL_LABEL', 'All' );
  • define ( 'RTMEDIA_ALBUM_SLUG', 'album' );
  • define ( 'RTMEDIA_ALBUM_PLURAL_SLUG', 'albums' );
  • define ( 'RTMEDIA_ALBUM_LABEL', 'Album' );
  • define ( 'RTMEDIA_ALBUM_PLURAL_LABEL', 'Albums' );
  • define ( 'RTMEDIA_UPLOAD_SLUG', 'upload' );
  • define ( 'RTMEDIA_UPLOAD_LABEL', 'Upload' );
  • define ( 'RTMEDIA_GLOBAL_ALBUM_LABEL', 'Wall Post' );
  • define ( 'RTMEDIA_PHOTO_SLUG', 'photo' );
  • define ( 'RTMEDIA_PHOTO_PLURAL_SLUG', 'photos' );
  • define ( 'RTMEDIA_PHOTO_LABEL', 'Photo' );
  • define ( 'RTMEDIA_PHOTO_PLURAL_LABEL', 'Photos' );
  • define ( 'RTMEDIA_VIDEO_SLUG', 'video' );
  • define ( 'RTMEDIA_VIDEO_PLURAL_SLUG', 'videos' );
  • define ( 'RTMEDIA_VIDEO_LABEL', 'Video' );
  • define ( 'RTMEDIA_VIDEO_PLURAL_LABEL', 'Videos' );
  • define ( 'RTMEDIA_MUSIC_SLUG', 'music' );
  • define ( 'RTMEDIA_MUSIC_PLURAL_SLUG', 'music' );
  • define ( 'RTMEDIA_MUSIC_LABEL', 'Music' );
  • define ( 'RTMEDIA_MUSIC_PLURAL_LABEL', 'Music' );
  • define ( 'RTMEDIA_DOCUMENT_SLUG', 'document' );
  • define ( 'RTMEDIA_DOCUMENT_LABEL', 'Document' );
  • define ( 'RTMEDIA_DOCUMENT_PLURAL_LABEL', 'Documents' );
  • define ( 'RTMEDIA_PLAYLIST_SLUG', 'playlist' );
  • define ( 'RTMEDIA_PLAYLIST_LABEL', 'Playlist' );
  • define ( 'RTMEDIA_PLAYLIST_PLURAL_LABEL', 'Playlists' );
  • define ( 'RTMEDIA_OTHER_SLUG', 'other' );
  • define ( 'RTMEDIA_OTHER_LABEL', 'Other' );
  • define ( 'RTMEDIA_OTHER_PLURAL_LABEL', 'Others' );
  • define ( 'RTMEDIA_FAVLIST_SLUG', 'favlist' );
  • define ( 'RTMEDIA_FAVLIST_LABEL', 'FavList' );
  • define ( 'RTMEDIA_FAVLIST_PLURAL_LABEL', 'FavLists' );
  • define ( 'RTMEDIA_USER_LIKES_LABEL', 'UserLike');
  • define ( 'RTMEDIA_USER_LIKES_PLURAL_LABEL', 'UserLikes');