Contents

BP_Messages_Sitewide_Notices_Widget::__construct()

Constructor method.

Description

Source

File: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php

22
23
24
25
26
27
28
29
30
31
32
function __construct() {
    parent::__construct(
        'bp_messages_sitewide_notices_widget',
        __( '(BB) Sitewide Notices', 'buddyboss' ),
        array(
            'classname'                   => 'widget_bp_core_sitewide_messages buddypress widget',
            'description'                 => __( 'Display Sitewide Notices posted by the site administrator', 'buddyboss' ),
            'customize_selective_refresh' => true,
        )
    );
}

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.