Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Classes / BP_Core_Login_Widget / BP_Core_Login_Widget::__construct()

BP_Core_Login_Widget::__construct()

Constructor method.

Contents

  • Description
    • Source
    • Changelog
  • User Contributed Notes

Description #Description


Source #Source

File: bp-core/classes/class-bp-core-login-widget.php

	public function __construct() {
		parent::__construct(
			false,
			_x( '(BuddyPress) Log In', 'Title of the login widget', 'buddypress' ),
			array(
				'description'                 => __( 'Show a Log In form to logged-out visitors, and a Log Out link to those who are logged in.', 'buddypress' ),
				'classname'                   => 'widget_bp_core_login_widget buddypress widget',
				'customize_selective_refresh' => true,
			)
		);
	}

Expand full source code Collapse full source code


Top ↑

Changelog #Changelog

Changelog
Version Description
1.9.0 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

Proudly powered by WordPress