BP_Activity_List_Table::__construct()
Constructor.
Description
Source
File: bp-activity/classes/class-bp-activity-list-table.php
public function __construct() { // See if activity commenting is enabled for post/comment activity items. $this->disable_blogforum_comments = bp_disable_blogforum_comments(); // Define singular and plural labels, as well as whether we support AJAX. parent::__construct( array( 'ajax' => false, 'plural' => 'activities', 'singular' => 'activity', 'screen' => get_current_screen(), ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.0 | 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.