BBP_Search_Widget::__construct()

Forums Search Widget

Description

Registers the search widget

Source

File: bp-forums/common/widgets.php

399
400
401
402
403
404
405
406
public function __construct() {
    $widget_ops = apply_filters( 'bbp_search_widget_options', array(
        'classname'   => 'widget_display_search',
        'description' => __( 'The forums search form.', 'buddyboss' )
    ) );
 
    parent::__construct( false, __( '(BB) Forum Search Form', 'buddyboss' ), $widget_ops );
}

Changelog

Changelog
Version Description
bbPress (r4579) Introduced.

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.