Filters

Description

rtm_default_albums_admin_js_strings


Filter to modify js messages string in default albums addon.

add_filter('rtm_default_albums_admin_js_strings', 'rtmedia_default_albums_admin_js_strings', 10, 1 );

function rtmedia_default_albums_admin_js_strings ( $rtmedia_default_albums_admin_js ) {
    $rtmedia_default_albums_admin_js['rtmedia_empty_global_album_msg'] = 'Album name can not be empty..';

    return $rtmedia_default_albums_admin_js;
}