How to make auto-generated tags after question is posted or answer
1 Answers
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
Please login or Register to submit your answer