apply_filters( 'bp_search_query_results' )

the following variable will be an object of current search type helper class e.g: an object of Bp_Search_Groups or Bp_Search_Posts etc.

Description

so we can safely call the public methods defined in those classes. This also means that all such classes must have a common set of methods.

Source

File: bp-search/classes/class-bp-search.php

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.