BP_Blogs_Template::has_blogs()
Whether there are blogs available in the loop.
Description
See also
Return
(bool) True if there are items in the loop, otherwise false.
Source
File: bp-blogs/classes/class-bp-blogs-template.php
public function has_blogs() { return (bool) ! empty( $this->blog_count ); }
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.