ure_restrict_content_view_for_authors_and_editors

ure_restrict_content_view_for_authors_and_editors filter allows to apply content view access restrictions to the user who can edit this post or page. Content view access restrictions are not applied by default to the users who can edit this content. Use this code sample to apply this filter:

add_filter('ure_restrict_content_view_for_authors_and_editors', 'restrict_content_view_for_authors_and_editors', 10, 1);
function restrict_content_view_for_authors_and_editors($restrict) {

   return true;
}