@arthurlutte
3 years, 3 months ago
It is working perfectly, except that you need to specify the good post type (here it is ‘topic’).
$query = bbp_get_all_child_ids($forum_id, 'topic');