Show a specific category and its children to a user when he creates post
-
I have a multi-user blog. When a user, say user4 is created, I use user_register and wp_create_term to automatically create the category term ‘user4’.
Now I want this: When user4 creates a post, I want him to have the ability to see and assign only ‘user4’ and its child terms, to the post he creates.
How can I do it using custom code?
- The topic ‘Show a specific category and its children to a user when he creates post’ is closed to new replies.