I would like to change the following lables without going the translation route:
- Attatch Files: Change to Upload Photo".
- Upload will start only after you enter content and click Post Update: Change to “say Something about your photo(s)”
I would like to change the following lables without going the translation route:
Hello @bhekzinto,
Below is the sample code which you can add to your theme’s function.php file:
function rtmedia_attach_file_message_custom( $rtmedia_attach_file_message ) {
return 'Upload Photo';
}
add_filter( 'rtmedia_attach_file_message', 'rtmedia_attach_file_message_custom', 10, 1 );
Thanks.
Thank for the code snippet. Works like a charm.
Is there a filter to change this text yet?
Hello @kcdrip,
Yes, we have added filter to edit text message ‘Upload will start only after you enter content and click Post Update’. It will be added to next plugin release!
Thank you.
Great, Is there a time frame on when that release will be available?
Great. What will be the filter I need to use to make those changes after I update?
Hello @kcdrip,
rtMedia has been released this filter with version 3.7.38
Please visit the documentation here http://docs.rtcamp.com/rtmedia/developer/hooks/rtmedia-hooks/filter-to-change-text-of-post-update-message/
Thank you.