rtMedia Hook not working


#1

Hello,

I’m trying to change the next text: Oops !! There’s no media found for the request !!

I found this https://rtmedia.io/docs/developers/hooks/change-default-media-found-message-media-tab/

Put this code in my theme functions.php but the text remains unchanged.

function custom_no_media_found_message_function( $message ) {

$message = “Custom Message Comes Here … !”; return $message; } add_filter( ‘rtmedia_no_media_found_message_filter’, ‘custom_no_media_found_message_function’ ,10, 1 );

In the .po file is this text not present …

Any idea how I can adjust this?

Thanks


#2