Changing "Oops ! There’s no media found for the request !" when media set to private or friends only

Hi, is there a way to change the default message “Oops !! There’s no media found for the request !!” when a user has set their media to private or friends only?

The default message doesn’t really explain anything and it makes my members confused and think that there is something wrong with the site when they see there is media uploaded, but get that message.

Something like: “The media of this member is set to private” or, “Send a friend request to see this member’s media”, would be much better.

Anyone?

@pixelmagic

Check this document https://rtmedia.io/docs/developers/hooks/change-default-media-found-message-media-tab/, hope it will help you to change the message.