bbp_search_results()
Whether there are more search results available in the loop
Description Description
Return Return
(object) Search information
Source Source
File: includes/search/template.php
function bbp_search_results() { // Put into variable to check against next $have_posts = bbpress()->search_query->have_posts(); // Reset the post data when finished if ( empty( $have_posts ) ) { wp_reset_postdata(); } return $have_posts; }
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |