BP_Messages_Box_Template::has_threads()
Whether there are threads available in the loop.
Description
See also
Return
(bool) True if there are items in the loop, otherwise false.
Source
File: bp-messages/classes/class-bp-messages-box-template.php
public function has_threads() {
if ( $this->thread_count ) {
return true;
}
return false;
}
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.