We have a rather large media library so thought it would be nice if other journalists was actually able to use it and share media, so dove into the URE Forums and found the solution, followed the instructions, or so I thought 😉
Added;
/**
* Enable Editors & Authors to see entire media library
* @param $show_all
*
* @return bool
*/
function show_full_list_of_attachments($show_all) {
if (!current_user_can('editor') ||
!current_user_can('author')
) {
return $show_all;
}
return true;
}
add_filter('ure_attachments_show_full_list', 'show_full_list_of_attachments', 10, 1);
To the functions.php of the theme and lo and behold; it works, BUT only for list view in media manager and NOT in thumbnail view in media library nor in Add Media (which for some reason only shows thumbnails *sigh* )
Ideas?