/* Custom rtMedia Privacy Levels */
add_filter( 'rtmedia_privacy_levels', 'custom_rtmedia_privacy_levels' );
function custom_rtmedia_privacy_levels() {
$custom = array(
'levels' => array(
20 => '<strong>Logged in Users</strong> - Visible to registered users',
0 => '<strong>Public</strong> - Visible to the world',
)
);
return $custom;
}
The goal of this is to remove “Friends” and “Private”. I cant seem to find my error. Any ideas?