Contents

BP_Blogs_Recent_Posts_Widget::__construct()

Constructor method.

Description

Source

File: bp-blogs/classes/class-bp-blogs-recent-posts-widget.php

20
21
22
23
24
25
26
27
public function __construct() {
    $widget_ops = array(
        'description'                 => __( 'A list of recently published posts from across your network.', 'buddyboss' ),
        'classname'                   => 'widget_bp_blogs_widget buddypress widget',
        'customize_selective_refresh' => true,
    );
    parent::__construct( false, $name = __( '(BB) Recent Networkwide Posts', '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.