Change WordPress user roles and capabilities Forums How to or FAQ limit Categories to be selected for a Post Reply To: limit Categories to be selected for a Post

#6030
Vladimir
Keymaster

Yes,


$restrict_it = false;

When filter returns FALSE, URE does not apply any restrictions for this post type.
Why do not comment/remove exclude_posts_from_edit_news_restrictions() from the filter?
User will still can add new news, but only to this single category ‘McCaskey’ and see at the news list news only with this category.