BP_Search_Component
Defines the BuddyBoss Search Component.
Description
Source
File: bp-search/classes/class-bp-search-component.php
class BP_Search_Component extends BP_Component { /** * Start the search component creation process * * @since BuddyBoss 1.0.0 */ public function __construct() { parent::start( 'search', __( 'Search', 'buddyboss' ), buddypress()->plugin_dir ); } /** * Setup globals * * @since BuddyBoss 1.0.0 */ public function setup_globals( $args = array() ) { parent::setup_globals( $args ); } }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Methods
- __construct — Start the search component creation process
- setup_globals — Setup globals
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.