bbp_replies()

Whether there are more replies available in the loop

Description

Return

(object) Replies information

Source

File: bp-forums/replies/template.php

303
304
305
306
307
308
309
310
311
312
313
function bbp_replies() {
 
    // Put into variable to check against next
    $have_posts = bbpress()->reply_query->have_posts();
 
    // Reset the post data when finished
    if ( empty( $have_posts ) )
        wp_reset_postdata();
 
    return $have_posts;
}

Changelog

Changelog
Version Description
bbPress (r2553) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.