sorry I do not understand
topic ID = 100
first reply to topic ID 100 = 105
second reply to topic ID 100 = 107
third reply to topic ID 100 = 108
so which number are you starting with and which number do you want?
sorry, I re-wrote that.
▼For example:
topic ID = 100
-first reply to topic ID 100 = post ID 105
--first reply to post ID 105 = post ID 106
-second reply to topic ID 100 = post ID 107
-third reply to topic ID 100 = post ID 108
--first reply to post ID 108 = post ID 109
---first reply to post ID 109 = post ID 110
---second reply to post ID 109 = post ID 111
▼I expect the following get:
Get 0 using 105, 107, 108.
<?php echo bbp_get_form_reply_to(105); //Get 0 ?>
<?php echo bbp_get_form_reply_to(107); //Get 0 ?>
<?php echo bbp_get_form_reply_to(108); //Get 0 ?>
Get 105 using 106.
<?php echo bbp_get_form_reply_to(106); //Get 105 ?>
Get 108 using 109.
<?php echo bbp_get_form_reply_to(109); //Get 108 ?>
Get 109 using 110, 111.
<?php echo bbp_get_form_reply_to(110); //Get 109 ?>
<?php echo bbp_get_form_reply_to(111); //Get 109 ?>
I want to obtain the reply ID based on the post ID.
Thanks.
before I dig into this can you try (or have you)
bbp_get_reply_to (xxx)