BP_Admin_Setting_Messages
Main class.
Description
Source
File: bp-core/admin/settings/bp-admin-setting-messages.php
class BP_Admin_Setting_Messages extends BP_Admin_Setting_tab { public function initialize() { $this->tab_label = __( 'Messages', 'buddyboss' ); $this->tab_name = 'bp-messages'; $this->tab_order = 40; } //Check if messages are enabled public function is_active() { return bp_is_active( 'messages' ); } //Register setting fields public function register_fields() { $this->add_section( 'bp_messages', __( 'Messages Settings', 'buddyboss' ) ); } }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Methods
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.