BBP_Login_Widget::__construct()

Forums Login Widget

Description

Registers the login widget

Source

File: bp-forums/common/widgets.php

	public function __construct() {
		$widget_ops = apply_filters( 'bbp_login_widget_options', array(
			'classname'   => 'bbp_widget_login',
			'description' => __( 'A simple login form with optional links to sign-up and lost password pages.', 'buddyboss' )
		) );

		parent::__construct( false, __( '(BB) Forum Login Widget', 'buddyboss' ), $widget_ops );
	}

Changelog

Changelog
Version Description
bbPress (r2827) 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.