BP_Search::has_search_results()
Description
Source
File: bp-search/classes/class-bp-search.php
public function has_search_results() { $current_tab = isset( $this->search_args['search_subset'] ) ? $this->search_args['search_subset'] : ''; return isset( $this->search_results[ $current_tab ]['items'] ) && ! empty( $this->search_results[ $current_tab ]['items'] ); }
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.