0

Showing users only those categories which was created by them only. I tried to find relations between categories and users in database but couldn't find any.

5
  • WordPress, by default, doesn't keep track of category authors.
    – Howdy_McGee
    May 12, 2016 at 17:13
  • 1
    You can add you own logic in term metadata!
    – Sumit
    May 12, 2016 at 17:14
  • yes i did that, i created a term meta with meta key as say 'useridmetakey' with meta value of the userid(value) while creating the categories but couldn't able to find how to customize the category listing page by using my own mysql query
    – rajat
    May 12, 2016 at 17:18
  • Then edit your question and add what you want and what is your code that you've done so far!
    – Sumit
    May 12, 2016 at 17:22
  • actually i want to know is there any hook for wordpress categories listing page so that i can add a my custom callback function with that hook and add extra field named as 'Created user' and show the name of the user corresponding to that categories
    – rajat
    May 12, 2016 at 17:51

1 Answer 1

1

WordPress doesn't do this out of the box. So if you want to know about something that has already happened you're too late :)

But if you'd like to know in the future you could for instance have a look at this:

https://wordpress.org/plugins/wp-security-audit-log/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.