@arthurlutte
4 years 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');