Marko Zunic
asked 6 years ago

How to make auto-generated tags after question is posted or answer

1 Answers
BigHug
answered 6 years ago

Hi Marko, 
All tags of questions was save as custom taxnomy “dwqa-question_tag” . DW Question Answer has a “dwqa_add_question” hook that was actived when we have new question in your page. The new question post object and author_id was passed to this hook ( $new_question, $user_id ) you can use those variables to get content or title of question to generate tags then add tags back to post.
Hope this help.
Regards

Powered by DW Question & Answer Pro