Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
100 views
in Q2A Core by
Question's postid, title vb. may get as $params['postid'].
Is exist an array indice for question url such as $params['url'] or $params['link']?

1 Answer

+1 vote
by

No, question URLs are not stored anywhere in the database, they are always generated from the ID and title. You simply pass them into the qa_q_path function:

$url = qa_q_path($questionid, $title);

Or in your case above:

$url = qa_q_path($params['postid'], $params['title']);

See http://question2answer.org/functions.php

...