Bp_Search_Type::add_search_item( $item_id )
Description
Source
File: bp-search/classes/class-bp-search-types.php
public function add_search_item( $item_id ){ if( !in_array( $item_id, $this->search_results['items'] ) ) $this->search_results['items'][$item_id] = ''; }
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.