BP_Admin_Setting_Credit

Main credits class.

Description

Source

File: bp-core/admin/settings/bp-admin-setting-credit.php

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class BP_Admin_Setting_Credit extends BP_Admin_Setting_tab {
 
    public function initialize() {
        $this->tab_label = __( 'Credits', 'buddyboss' );
        $this->tab_name  = 'bp-credit';
        $this->tab_order = 100;
    }
 
    public function is_tab_visible() {
        return true;
    }
 
    public function form_html()
    {
        require_once trailingslashit( buddypress()->plugin_dir  . 'bp-core/admin/templates' ) . '/credit-screen.php';
    }
}

Changelog

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.