Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Problems creating new post with user having category/taxonomy ID restriction › Reply To: Problems creating new post with user having category/taxonomy ID restriction
Well, I tried doing this myself — I created a taxonomy called “ure” and added a term to it. Then appended term_id 969 to all users’ meta value of wp_ure_categories_list.
I then added a function on my functions.php that auto-assigns term_id 969 to the post, and hooked it into the filter wp_register_post.
It did NOT work — the message “You are not allowed to edit this post.” continues to show… 🙁