Contents

BP_Core_Follow_Following_Widget::__construct()

Constructor.

Description

Source

File: bp-core/classes/class-bp-core-follow-following-widget.php

21
22
23
24
25
26
27
28
29
30
31
32
33
34
function __construct() {
    // Set up optional widget args
    $widget_ops = array(
        'classname'   => 'widget_bp_follow_following_widget widget buddypress',
        'description' => __( "Show a list of member avatars that the logged-in user is following.", 'buddyboss' )
    );
 
    // Set up the widget
    parent::__construct(
        false,
        __( "(BB) - Users I'm Following", 'buddyboss' ),
        $widget_ops
    );
}

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.